Skip to content

Instantly share code, notes, and snippets.

@daniel229
Created March 10, 2016 08:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniel229/ffa96fca736e443d1548 to your computer and use it in GitHub Desktop.
Save daniel229/ffa96fca736e443d1548 to your computer and use it in GitHub Desktop.
Tengai Makyou Daishi no Mokushiroku a white box around the texture in OpenGL
Name Value
Lighting enable 1
Light 0 enable 1
Light 1 enable 0
Light 2 enable 0
Light 3 enable 0
Clip enable 0
Cullface enable 0
Texture map enable 1
Fog enable 1
Dither enable 1
Alpha blend enable 1
Alpha test enable 1
Depth test enable 0
Stencil test enable 0
Antialias enable 0
Patch cull enable 0
Color test enable 0
Logic op enable 1
Depth write disable 0
Name Value
Ambient color ffffff
Ambient alpha 0000ff
Material update ambient, diffuse
Material emissive 000000
Material ambient ffffff
Material diffuse ffffff
Material alpha 0000ff
Material specular ffffff
Mat. specular coef 1.000000
Reverse normals 0
Shade model gouraud
Light mode mixed color
Light type 0 type: directional, comp: diffuse + spec
Light type 1 type: directional, comp: diffuse (disabled)
Light type 2 type: directional, comp: diffuse (disabled)
Light type 3 type: directional, comp: diffuse (disabled)
Light pos 0 -5.000000, 10.000000, 5.000000
Light pos 1 0.000000, 0.000000, 0.000000 (disabled)
Light pos 2 1.000000, 0.000000, 0.000000 (disabled)
Light pos 3 0.000000, 1.000000, 0.000000 (disabled)
Light dir 0 0.000000, 0.000000, 0.000000
Light dir 1 0.000000, 0.000000, 0.000000 (disabled)
Light dir 2 0.000000, 0.000000, 0.000000 (disabled)
Light dir 3 0.000000, 0.000000, 0.000000 (disabled)
Light att 0 0.000000, 0.000000, 0.000000
Light att 1 0.000000, 0.000000, 0.000000 (disabled)
Light att 2 0.000000, 0.000000, 0.000000 (disabled)
Light att 3 0.000000, 0.000000, 0.000000 (disabled)
Lightspot coef 0 0.000000
Lightspot coef 1 0.000000 (disabled)
Lightspot coef 2 0.000000 (disabled)
Lightspot coef 3 0.000000 (disabled)
Light angle 0 0.000000
Light angle 1 0.000000 (disabled)
Light angle 2 0.000000 (disabled)
Light angle 3 0.000000 (disabled)
Light ambient 0 000000
Light diffuse 0 ffffff
Light specular 0 ffffff
Light ambient 1 000000 (disabled)
Light diffuse 1 000000 (disabled)
Light specular 1 000000 (disabled)
Light ambient 2 000000 (disabled)
Light diffuse 2 000000 (disabled)
Light specular 2 000000 (disabled)
Light ambient 3 000000 (disabled)
Light diffuse 3 000000 (disabled)
Light specular 3 000000 (disabled)
Name Value
Tex U scale 1.000000
Tex V scale 1.000000
Tex U offset 0.000000
Tex V offset 0.000000
Tex mapping mode gen: tex coords, proj: pos
Tex shade srcs s: 0, t: 0
Tex mode swizzled, 1 levels
Tex format CLUT4
Tex filtering min: nearest, mag: nearest
Tex wrapping wrap s, wrap t
Tex level/bias auto
Tex lod slope 0.000000
Tex func modulate, RGBA
Tex env color 000000
CLUT 08f91ae0, w=0
CLUT format ABGR 1555 ind & 0f
Texture L0 addr 08f91b00, w=256
Texture L1 addr 00000000, w=0
Texture L2 addr 00000000, w=0
Texture L3 addr 00000000, w=0
Texture L4 addr 00000000, w=0
Texture L5 addr 00000000, w=0
Texture L6 addr 00000000, w=0
Texture L7 addr 00000000, w=0
Texture L0 size 256x64
Texture L1 size 1x1
Texture L2 size 1x1
Texture L3 size 1x1
Texture L4 size 1x1
Texture L5 size 1x1
Texture L6 size 1x1
Texture L7 size 1x1
Name Value
Clear mode 0
Framebuffer 00000000, w=512
Framebuffer format 8888
Depthbuffer 00110000, w=512
Vertex type through, u16 texcoords, s16 positions
Offset addr 08000000
Vertex addr 0899dc0c
Index addr 00000000
Region 0,0 - 479,271
Scissor 0,0 - 479,271
Min Z 000000
Max Z 00e000
Viewport Scale 240.000000, -136.000000, -28672.000000
Viewport Offset 2048.000000, 2048.000000, 28672.000000
Offset 1808.000000x1912.000000
Cull mode front (CW) (disabled)
Color test pass if (c & 000000) NEVER (000000 & 000000) (disabled)
Alpha test pass if (a & ff) > (00 & ff)
Stencil test pass if (00 & 00) NEVER (a & 00) (disabled)
Stencil test op fail=KEEP, pass/depthfail=KEEP, pass=KEEP (disabled)
Depth test pass if src >= dst (disabled)
Alpha blend mode add: src.a, 1.0 - src.a
Blend color A 000000
Blend color B 000000
Logic Op inverted copy
Fog 1 500.000000
Fog 2 0.002041
Fog color 000000
RGB mask 000000
Stencil/alpha mask 000000
Morph Weight 0 0.000000
Morph Weight 1 0.000000
Morph Weight 2 0.000000
Morph Weight 3 0.000000
Morph Weight 4 0.000000
Morph Weight 5 0.000000
Morph Weight 6 0.000000
Morph Weight 7 0.000000
Patch division 002020
Patch primitive triangles
Patch facing 000001 (disabled)
Dither 0 001d0c
Dither 1 00f3e2
Dither 2 000c1d
Dither 3 00e2f3
Transfer src 00000000, w=0
Transfer src pos 0,0
Transfer dst 00000000, w=0
Transfer dst pos 0,0
Transfer size 0,0
X Y Z U V Color
236.000000 103.000000 0.000000 0.000000 0.000000 00000000
268.000000 143.000000 0.000000 32.000000 40.000000 00000000
Name 0 1 2 3
World 0 0.000000 0.000000 0.000000 0.000000
World 1 0.000000 0.000000 0.000000 0.000000
World 2 0.000000 0.000000 0.000000 0.000000
View 0 0.000000 0.000000 0.000000 0.000000
View 1 0.000000 0.000000 0.000000 0.000000
View 2 0.000000 0.000000 0.000000 0.000000
Proj 0 0.000000 0.000000 0.000000 0.000000
Proj 1 0.000000 0.000000 0.000000 0.000000
Proj 2 0.000000 0.000000 0.000000 0.000000
Proj 3 0.000000 0.000000 0.000000 0.000000
Texgen 0 0.000000 0.000000 0.000000 0.000000
Texgen 1 0.000000 0.000000 0.000000 0.000000
Texgen 2 0.000000 0.000000 0.000000 0.000000
Bone #0 row 0 0.000000 0.000000 0.000000 0.000000
Bone #0 row 1 0.000000 0.000000 0.000000 0.000000
Bone #0 row 2 0.000000 0.000000 0.000000 0.000000
Bone #1 row 0 0.000000 0.000000 0.000000 0.000000
Bone #1 row 1 0.000000 0.000000 0.000000 0.000000
Bone #1 row 2 0.000000 0.000000 0.000000 0.000000
Bone #2 row 0 0.000000 0.000000 0.000000 0.000000
Bone #2 row 1 0.000000 0.000000 0.000000 0.000000
Bone #2 row 2 0.000000 0.000000 0.000000 0.000000
Bone #3 row 0 0.000000 0.000000 0.000000 0.000000
Bone #3 row 1 0.000000 0.000000 0.000000 0.000000
Bone #3 row 2 0.000000 0.000000 0.000000 0.000000
Bone #4 row 0 0.000000 0.000000 0.000000 0.000000
Bone #4 row 1 0.000000 0.000000 0.000000 0.000000
Bone #4 row 2 0.000000 0.000000 0.000000 0.000000
Bone #5 row 0 0.000000 0.000000 0.000000 0.000000
Bone #5 row 1 0.000000 0.000000 0.000000 0.000000
Bone #5 row 2 0.000000 0.000000 0.000000 0.000000
Bone #6 row 0 0.000000 0.000000 0.000000 0.000000
Bone #6 row 1 0.000000 0.000000 0.000000 0.000000
Bone #6 row 2 0.000000 0.000000 0.000000 0.000000
Bone #7 row 0 0.000000 0.000000 0.000000 0.000000
Bone #7 row 1 0.000000 0.000000 0.000000 0.000000
Bone #7 row 2 0.000000 0.000000 0.000000 0.000000
Start PC PC Stall State Started Interrupted
0x0899CE80 0x0899DC2C 0x0899DC30 Running Yes No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment