Skip to content

Instantly share code, notes, and snippets.

@unknownbrackets
Created May 29, 2017 15:32
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 unknownbrackets/8f98e0511e1991932b21ef2cf565d974 to your computer and use it in GitHub Desktop.
Save unknownbrackets/8f98e0511e1991932b21ef2cf565d974 to your computer and use it in GitHub Desktop.
GE Debugger - Blade Dancer lighting issue
Name Value
Lighting enable 1
Light 0 enable 1
Light 1 enable 1
Light 2 enable 1
Light 3 enable 0
Clip enable 0
Cullface enable 1
Texture map enable 1
Fog enable 1
Dither enable 0
Alpha blend enable 1
Alpha test enable 0
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
Name Value
Ambient color 000000
Ambient alpha 0000ff
Material update diffuse
Material emissive 000000
Material ambient 000000
Material diffuse ffffff
Material alpha 0000ff
Material specular 000000
Mat. specular coef 0.000000
Reverse normals 0
Shade model flat
Light mode separate specular
Light type 0 type: directional, comp: diffuse + spec
Light type 1 type: directional, comp: diffuse + spec
Light type 2 type: directional, comp: diffuse + spec
Light type 3 type: directional, comp: diffuse (disabled)
Light pos 0 -0.612366, 0.707092, 0.353546
Light pos 1 0.852859, -0.173645, 0.492401
Light pos 2 0.000000, -0.173645, -0.984802
Light pos 3 0.000000, 0.000000, 0.000000 (disabled)
Light dir 0 0.000000, 0.000000, 0.000000
Light dir 1 0.000000, 0.000000, 0.000000
Light dir 2 0.000000, 0.000000, 0.000000
Light dir 3 0.000000, 0.000000, 0.000000 (disabled)
Light att 0 0.099998, 0.001000, 0.000100
Light att 1 0.099998, 0.001000, 0.000100
Light att 2 0.099998, 0.001000, 0.000100
Light att 3 0.000000, 0.000000, 0.000000 (disabled)
Lightspot coef 0 0.000000
Lightspot coef 1 0.000000
Lightspot coef 2 0.000000
Lightspot coef 3 0.000000 (disabled)
Light angle 0 0.000000
Light angle 1 0.000000
Light angle 2 0.000000
Light angle 3 0.000000 (disabled)
Light ambient 0 ffffff
Light diffuse 0 ffffff
Light specular 0 ffffff
Light ambient 1 ffffff
Light diffuse 1 927c67
Light specular 1 ffffff
Light ambient 2 ffffff
Light diffuse 2 9c9282
Light specular 2 ffffff
Light ambient 3 000000 (disabled)
Light diffuse 3 000000 (disabled)
Light specular 3 000000 (disabled)
Name 0 1 2 3
World 0 1.000000 0.000000 0.000000 0.000000
World 1 1.000000 0.000000 0.000000 0.000000
World 2 1.000000 0.000000 -0.866379 4.000000
View 0 0.996460 -0.016470 0.082354 0.000000
View 1 0.980576 0.196114 -0.083984 -0.195419
View 2 0.977112 9.484375 -0.749496 -9.509766
Proj 0 1.215210 0.000000 0.000000 0.000000
Proj 1 0.000000 2.144470 0.000000 0.000000
Proj 2 0.000000 0.000000 -1.006683 -1.000000
Proj 3 0.000000 0.000000 -1.003326 0.000000
Texgen 0 1.000000 0.000000 0.000000 0.000000
Texgen 1 1.000000 0.000000 0.000000 0.000000
Texgen 2 1.000000 0.000000 0.000000 0.000000
Bone #0 row 0 0.129585 -0.029203 0.991135 -0.036562
Bone #0 row 1 0.998734 0.034207 -0.990891 -0.040670
Bone #0 row 2 0.128353 0.315475 -0.005878 12.792969
Bone #1 row 0 0.000143 -0.000059 0.999985 -0.000170
Bone #1 row 1 0.999985 0.000059 -0.999985 -0.000170
Bone #1 row 2 0.000143 0.296661 -0.002102 12.795898
Bone #2 row 0 0.469147 -0.000091 0.883102 0.000233
Bone #2 row 1 0.999985 -0.000021 -0.883102 0.000215
Bone #2 row 2 0.469147 0.368889 -0.002123 12.771729
Bone #3 row 0 0.010979 -0.987961 0.154240 0.197067
Bone #3 row 1 0.153362 0.968307 -0.980316 0.019764
Bone #3 row 2 0.196381 0.160759 1.290649 11.646484
Bone #4 row 0 -0.087627 -0.986893 0.135448 -0.131096
Bone #4 row 1 0.146214 0.980515 -0.987488 0.068163
Bone #4 row 2 -0.142193 0.664993 1.303070 11.617676
Bone #5 row 0 0.335052 -0.045031 0.941116 -0.052244
Bone #5 row 1 0.996429 0.066277 -0.940735 -0.071375
Bone #5 row 2 0.331497 0.368660 -0.000796 12.765137
Bone #6 row 0 0.335297 -0.048039 0.940872 -0.109961
Bone #6 row 1 0.989868 0.089725 -0.935669 -0.133545
Bone #6 row 2 0.326614 0.394638 0.002893 12.754639
Bone #7 row 0 -0.074650 0.985260 0.153885 -0.271828
Bone #7 row 1 0.128365 -0.953735 -0.959442 -0.113028
Bone #7 row 2 0.258240 0.603867 1.308624 13.943604
X Y Z U V Color
-6.000000 0.866386 8.000000 0.000000 -0.000000 -
6.000000 0.866386 8.000000 1.000000 -0.000000 -
-6.000000 1.133614 8.000000 0.000000 -0.062500 -
6.000000 1.133614 8.000000 1.000000 -0.062500 -
-6.000000 1.133614 6.000000 0.000000 -0.500000 -
6.000000 1.133614 6.000000 1.000000 -0.500000 -
6.000000 -1.133614 6.000000 1.000000 -1.000000 -
6.000000 -1.133614 6.000000 1.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 1.133614 -6.000000 0.000000 -0.500000 -
-6.000000 1.133614 6.000000 1.000000 -0.500000 -
-8.000000 1.133614 -6.000000 0.000000 -0.062500 -
-8.000000 1.133614 6.000000 1.000000 -0.062500 -
-8.000000 0.866386 -6.000000 0.000000 -0.000000 -
-8.000000 0.866386 6.000000 1.000000 -0.000000 -
-8.000000 0.866386 6.000000 1.000000 -0.000000 -
6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
6.000000 1.133614 -6.000000 0.000000 -0.500000 -
-6.000000 1.133614 -6.000000 1.000000 -0.500000 -
6.000000 1.133614 -8.000000 0.000000 -0.062500 -
-6.000000 1.133614 -8.000000 1.000000 -0.062500 -
6.000000 0.866386 -8.000000 0.000000 -0.000000 -
-6.000000 0.866386 -8.000000 1.000000 -0.000000 -
-6.000000 0.866386 -8.000000 1.000000 -0.000000 -
6.000000 -1.133614 6.000000 0.000000 -1.000000 -
6.000000 -1.133614 6.000000 0.000000 -1.000000 -
6.000000 -1.133614 6.000000 0.000000 -1.000000 -
6.000000 1.133614 6.000000 0.000000 -0.500000 -
6.000000 1.133614 -6.000000 1.000000 -0.500000 -
8.000000 1.133614 6.000000 0.000000 -0.062500 -
8.000000 1.133614 -6.000000 1.000000 -0.062500 -
8.000000 0.866386 6.000000 0.000000 -0.000000 -
8.000000 0.866386 -6.000000 1.000000 -0.000000 -
8.000000 0.866386 -6.000000 1.000000 -0.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 -1.133614 6.000000 0.000000 -0.500000 -
6.000000 -1.133614 -6.000000 0.500000 -1.000000 -
6.000000 -1.133614 6.000000 0.500000 -0.500000 -
6.000000 -1.133614 6.000000 0.500000 -0.500000 -
-6.000000 1.133614 6.000000 1.000000 -0.500000 -
-6.000000 1.133614 6.000000 1.000000 -0.500000 -
-6.000000 -1.133614 6.000000 1.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
-6.000000 1.133614 -6.000000 1.000000 -0.500000 -
-6.000000 1.133614 -6.000000 1.000000 -0.500000 -
-6.000000 1.133614 -6.000000 1.000000 -0.500000 -
-6.000000 -1.133614 -6.000000 1.000000 -1.000000 -
6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
6.000000 -1.133614 -6.000000 0.000000 -1.000000 -
6.000000 1.133614 -6.000000 1.000000 -0.500000 -
6.000000 1.133614 -6.000000 1.000000 -0.500000 -
6.000000 1.133614 -6.000000 1.000000 -0.500000 -
6.000000 -1.133614 -6.000000 1.000000 -1.000000 -
6.000000 -1.133614 6.000000 0.000000 -1.000000 -
6.000000 -1.133614 6.000000 0.000000 -1.000000 -
-6.000000 1.133614 6.000000 0.000000 -0.500000 -
-6.000000 1.133614 6.000000 0.000000 -0.500000 -
-6.000000 1.133614 6.000000 0.000000 -0.500000 -
6.000000 -1.133614 6.000000 1.000000 -1.000000 -
-6.000000 -1.133614 6.000000 0.000000 -1.000000 -
Name Value
Clear mode 0
Framebuffer 00088000, w=512
Framebuffer format 8888
Depthbuffer 00110000, w=512
Vertex type float texcoords, float normals, float positions
Offset addr 08000000
Vertex addr 08cbff00
Index addr 09017894
Region 0,0 - 479,271
Scissor 0,0 - 479,271
Min Z 000000
Max Z 00ffff
Viewport Scale 240.000000, -136.000000, -32768.000000
Viewport Offset 2048.000000, 2048.000000, 32767.000000
Offset 1808.000000x1912.000000
Cull mode front (CW)
Color test pass if (c & 000000) NEVER (000000 & 000000) (disabled)
Alpha test pass if (a & ff) > (80 & ff) (disabled)
Stencil test pass if (ff & ff) == (a & ff) (disabled)
Stencil test op fail=KEEP, pass/depthfail=KEEP, pass=ZERO (disabled)
Depth test pass if src > dst
Alpha blend mode add: src.a, 1.0 - src.a
Blend color A 000000
Blend color B 000000
Logic Op clear (disabled)
Fog 1 150.000000
Fog 2 0.010000
Fog color a3783c
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 000000 (disabled)
Dither 0 000000 (disabled)
Dither 1 000000 (disabled)
Dither 2 000000 (disabled)
Dither 3 000000 (disabled)
Transfer src 04000000, w=512
Transfer src pos 0,0
Transfer dst 04154000, w=512
Transfer dst pos 0,0
Transfer size 479,271
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: linear, mag: linear
Tex wrapping wrap s, wrap t
Tex level/bias auto + bias: 0.000000
Tex lod slope 0.000000
Tex func modulate, RGB
Tex env color 000000
CLUT 096c1c80, w=0
CLUT format ABGR 8888 ind & ff
Texture L0 addr 096bdc00, 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 256x128
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
X Y Z U V Color
-183.179688 -371.529175 -19318.367188 0.000000 0.000000 00000000
-1315.855225 -207.703003 -12353.074219 256.000000 0.000000 00000000
-170.677124 -313.452148 -18754.117188 0.000000 -8.000000 00000000
-1286.335571 -173.513672 -12122.878906 256.000000 -8.000000 00000000
4550.666992 3924.413574 182065.109375 0.000000 -64.000000 00000000
-5039.093262 -781.116089 -40915.257813 256.000000 -64.000000 00000000
-11500.972656 -3688.684814 -90728.359375 256.000000 -128.000000 00000000
-11500.972656 -3688.684814 -90728.359375 256.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
329.990723 135.945923 2541.449219 0.000000 -64.000000 00000000
4550.666992 3924.413574 182065.109375 256.000000 -64.000000 00000000
280.608887 135.150757 2503.765625 0.000000 -8.000000 00000000
808.693359 2088.291504 95056.984375 256.000000 -8.000000 00000000
280.433350 141.458496 2491.988281 0.000000 0.000000 00000000
733.710693 2023.150879 82494.718750 256.000000 0.000000 00000000
733.710693 2023.150879 82494.718750 256.000000 0.000000 00000000
641.230469 198.082520 2673.568359 0.000000 -128.000000 00000000
641.230469 198.082520 2673.568359 0.000000 -128.000000 00000000
641.230469 198.082520 2673.568359 0.000000 -128.000000 00000000
657.571289 141.220947 2791.414063 0.000000 -64.000000 00000000
329.990723 135.945923 2541.449219 256.000000 -64.000000 00000000
597.979980 131.572510 2334.210938 0.000000 -8.000000 00000000
320.836670 127.729248 2152.089844 256.000000 -8.000000 00000000
596.528564 137.503662 2323.851563 0.000000 0.000000 00000000
320.532227 133.253540 2143.154297 256.000000 0.000000 00000000
320.532227 133.253540 2143.154297 256.000000 0.000000 00000000
-11500.972656 -3688.684814 -90728.359375 0.000000 -128.000000 00000000
-11500.972656 -3688.684814 -90728.359375 0.000000 -128.000000 00000000
-11500.972656 -3688.684814 -90728.359375 0.000000 -128.000000 00000000
-5039.093262 -781.116089 -40915.257813 0.000000 -64.000000 00000000
657.571289 141.220947 2791.414063 256.000000 -64.000000 00000000
-4742.699707 -635.681152 -34023.562500 0.000000 -8.000000 00000000
718.021973 142.194336 2837.541016 256.000000 -8.000000 00000000
-5026.480469 -762.682251 -35948.789063 0.000000 0.000000 00000000
715.703613 149.237061 2822.708984 256.000000 0.000000 00000000
715.703613 149.237061 2822.708984 256.000000 0.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
1483.967773 2266.686035 52383.664063 0.000000 -64.000000 00000000
641.230469 198.082520 2673.568359 128.000000 -128.000000 00000000
-11500.972656 -3688.684814 -90728.359375 128.000000 -64.000000 00000000
-11500.972656 -3688.684814 -90728.359375 128.000000 -64.000000 00000000
4550.666992 3924.413574 182065.109375 256.000000 -64.000000 00000000
4550.666992 3924.413574 182065.109375 256.000000 -64.000000 00000000
1483.967773 2266.686035 52383.664063 256.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
326.750977 188.447510 2442.031250 0.000000 -128.000000 00000000
329.990723 135.945923 2541.449219 256.000000 -64.000000 00000000
329.990723 135.945923 2541.449219 256.000000 -64.000000 00000000
329.990723 135.945923 2541.449219 256.000000 -64.000000 00000000
326.750977 188.447510 2442.031250 256.000000 -128.000000 00000000
641.230469 198.082520 2673.568359 0.000000 -128.000000 00000000
641.230469 198.082520 2673.568359 0.000000 -128.000000 00000000
657.571289 141.220947 2791.414063 256.000000 -64.000000 00000000
657.571289 141.220947 2791.414063 256.000000 -64.000000 00000000
657.571289 141.220947 2791.414063 256.000000 -64.000000 00000000
641.230469 198.082520 2673.568359 256.000000 -128.000000 00000000
-11500.972656 -3688.684814 -90728.359375 0.000000 -128.000000 00000000
-11500.972656 -3688.684814 -90728.359375 0.000000 -128.000000 00000000
4550.666992 3924.413574 182065.109375 0.000000 -64.000000 00000000
4550.666992 3924.413574 182065.109375 0.000000 -64.000000 00000000
4550.666992 3924.413574 182065.109375 0.000000 -64.000000 00000000
-11500.972656 -3688.684814 -90728.359375 256.000000 -128.000000 00000000
1483.967773 2266.686035 52383.664063 0.000000 -128.000000 00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment