error in texture2d grad in glsl

Started by
2 comments, last by x6itru 11 years, 1 month ago

i have posted a rar file which contains a code and if i try to execcute the ocean.exe in the rar file its showing error aas given in the screen shot..

please help me in fixing it...

Advertisement

shaders are correct, its working for me on HD4870 ;p What is your gpu?

Shaders are not correct, texture2DGrad doesn't exist since GLSL 1.3 - use textureGrad instead, it automatically chooses the dimension based on the sampler you pass as argument.

he didnt specify which glsl version he's using.

This topic is closed to new replies.

Advertisement