ShaderBlow’s fog doesn’t work

Hi guys!



Yesterday i’ve downloaded shader blow 0.81 and when i tried to compile LightBlow_Fog_System.java, it caused this exception:



com.jme3.renderer.RendererException: compile error in:ShaderSource[name=Shaders/LightBlow/LightBlow.frag, defines, type=Fragment, language=GLSL100] error:0(302) : error C0000: syntax error, unexpected identifier, expecting ‘{’ at token “m_FogSkyBox”

I’ve looked at LightBlow.frag code and it doesn’t have any errors.



P.S.

I have stable JME SDK, not Nightly and sorry for my bad English.

1 Like

@zeus168 hello man!

Thank you for you post. I did not see it. Sorry for a long delay. You can send me a private message if you find a bug, also.

Fixed here: http://code.google.com/p/jme-glsl-shaders/source/detail?r=e7185b3f73a2b47451938f7ffe450004f69d1cc3

Also, the shaderBlow library is official plugin now. The library was moved here:
http://code.google.com/p/jmonkeyplatform-contributions/source/browse/#svn%2Ftrunk%2Fshaderblowlib%2FShaderBlow
And you can install the library like a plugin. It’s called “shaderblowlib” in the JMP plugins repository.

Thank you for using ShaderBlow library.