Search found 2 matches

by admin
Fri May 25, 2018 4:40 pm
Forum: Snippets
Topic: PBR projected texture shader
Replies: 0
Views: 115

PBR projected texture shader

texture loader... Public Function load_dds_file(ByVal fs As String) As Integer Dim image_id As Integer = -1 Dim texID As UInt32 texID = Ilu.iluGenImage() Il.ilBindImage(texID) Dim success = Il.ilGetError Il.ilLoad(Il.IL_DDS, fs) success = Il.ilGetError If success = Il.IL_NO_ERROR Then 'Ilu.iluFlipIm...
by admin
Mon Oct 02, 2017 7:19 pm
Forum: Snippets
Topic: WoT BSP2 File format
Replies: 0
Views: 787

WoT BSP2 File format

What I know... : header : Version : V1 Len section 1 : V3 Len section 3 : V1 cnt : V3 cnt : V2 cnt : -bb.x : -bb.y : -bb.z : +bb.x : +bb.y : + bb.z : int32 : int32 ; At position 60 (&h3c) is the V1 BSP2 mesh data. Vt1.xyz as 3 floats : Vt2.xyz as 3 floats : Vt3.xyz as 3 floats : Int32 Next is the V2...