Two small shader issues

Hey guys, I was updating our codebase to the latest JME3 trunk source and found a two minor issues when compiling the code.

1 -> LightScattering.frag line 33 “fragColor” should be “gl_FragColor”. (fragColor is for the glsl 1.5 version)
2 -> PostShadowFilter.frag and PostShadowFilter15.frag line 62 “0” should be “0.0” so it is not confused with a “int” instead of “float” (issue happens only on certain very strict cards)

2 Likes