Skip to content

Instantly share code, notes, and snippets.

@LunaMoo
Created January 24, 2016 04:57
Show Gist options
  • Save LunaMoo/f85e88ee8ff515332d55 to your computer and use it in GitHub Desktop.
Save LunaMoo/f85e88ee8ff515332d55 to your computer and use it in GitHub Desktop.
Macross water texture
Flags:
Name Value
Lighting enable 1
Light 0 enable 1
Light 1 enable 1
Light 2 enable 0
Light 3 enable 0
Clip enable 1
Cullface enable 1
Texture map enable 1
Fog enable 1
Dither enable 1
Alpha blend enable 1
Alpha test enable 1
Depth test enable 1
Stencil test enable 0
Antialias enable 0
Patch cull enable 0
Color test enable 0
Logic op enable 0
Depth write disable 0
Lighting:
Name Value
Ambient color 7f7f7f
Ambient alpha 0000ff
Material update ambient, diffuse
Material emissive 000000
Material ambient b2b2b2
Material diffuse b2b2b2
Material alpha 0000ff
Material specular 000000
Mat. specular coef 0.000000
Reverse normals 0
Shade model gouraud
Light mode separate specular
Light type 0 type: directional, comp: diffuse + spec
Light type 1 type: directional, comp: diffuse
Light type 2 type: spot, comp: diffuse + spec (disabled)
Light type 3 type: point, comp: diffuse + spec (disabled)
Light pos 0 0.599991, 1.000000, -0.799988
Light pos 1 0.599991, 0.799988, 0.799988
Light pos 2 -7339.625000, 1.839081, -1914.875000 (disabled)
Light pos 3 -343.500000, 1269.156250, -2472.875000 (disabled)
Light dir 0 0.000000, 0.000000, 0.000000
Light dir 1 0.000000, 0.000000, 0.000000
Light dir 2 -0.089014, 0.985153, 0.146786 (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
Light att 2 0.888168, 0.000000, 0.088818 (disabled)
Light att 3 0.000120, 0.000000, 0.001200 (disabled)
Lightspot coef 0 0.000000
Lightspot coef 1 0.000000
Lightspot coef 2 0.500000 (disabled)
Lightspot coef 3 0.000000 (disabled)
Light angle 0 0.000000
Light angle 1 0.000000
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
Light diffuse 1 4c4c4c
Light specular 1 4c4c4c
Light ambient 2 000000 (disabled)
Light diffuse 2 ffc040 (disabled)
Light specular 2 ffc040 (disabled)
Light ambient 3 000000 (disabled)
Light diffuse 3 c0ffff (disabled)
Light specular 3 c0ffff (disabled)
Texture:
Name Value
Tex U scale 12.273682
Tex V scale 8.500000
Tex U offset 0.000000
Tex V offset 0.000000
Tex mapping mode gen: tex coords, proj: uv
Tex shade srcs s: 0, t: 0
Tex mode swizzled, 2 levels, CLUT per level
Tex format CLUT4
Tex filtering min: linear, mipmap linear, mag: linear
Tex wrapping wrap s, wrap t
Tex level/bias bias: 0.062500
Tex lod slope 0.001333
Tex func modulate, RGBA
Tex env color 000000
CLUT 0411a000, w=0
CLUT format ABGR 8888 ind & ff
Texture L0 addr 04117e80, w=64
Texture L1 addr 04118e80, w=64
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 64x128
Texture L1 size 64x128
Texture L2 size 1x1
Texture L3 size 1x1
Texture L4 size 1x1
Texture L5 size 1x1
Texture L6 size 1x1
Texture L7 size 1x1
Settings:
Name Value
Clear mode 0
Framebuffer 00044000, w=512
Framebuffer format 5551
Depthbuffer 00088000, w=512
Vertex type u16 texcoords, ABGR 8888 colors, s8 normals, float positions
Offset addr 09000000
Vertex addr 09443f4c
Index addr 040f3ba8
Region 0,0 - 479,271
Scissor 0,0 - 479,271
Min Z 000100
Max Z 00feff
Viewport Scale 240.000000, -136.000000, -32511.500000
Viewport Offset 2048.000000, 2048.000000, 32767.500000
Offset 1808.000000x1912.000000
Cull mode front (CW)
Color test pass if (c & 000000) NEVER (000000 & 000000) (disabled)
Alpha test pass if (a & ff) > (00 & ff)
Stencil test pass if (ff & ff) ALWAYS (a & ff) (disabled)
Stencil test op fail=KEEP, pass/depthfail=KEEP, pass=KEEP (disabled)
Depth test pass if src >= dst
Alpha blend mode add: src.a, 1.0 - src.a
Blend color A ffffff
Blend color B ffffff
Logic Op clear (disabled)
Fog 1 7321.250000
Fog 2 0.000312
Fog color ccccb7
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 001010
Patch primitive triangles
Patch facing 000001 (disabled)
Dither 0 002f1e
Dither 1 0001f0
Dither 2 001e2f
Dither 3 00f001
Transfer src 04044000, w=512
Transfer src pos 0,0
Transfer dst 04000000, w=512
Transfer dst pos 0,0
Transfer size 479,271
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment