Possible SpotLight bug when using small angles

When using small inner and outer angles, the light gets inverted.

test case :
jme3test.light.TestSpotLight.java

change the inner and outer angles to 1&2 …
[java]
spot.setSpotInnerAngle(1FastMath.DEG_TO_RAD);
spot.setSpotOuterAngle(2
FastMath.DEG_TO_RAD);[/java]

what i see …

mhh…ok use 3 instead of 2 and it works.
woooohooo \o/ issue fixed I’m good.

Ok I’m gonna look into it.

That’s fixed in last svn

3 Likes