Jump to content

  • Log In with Google      Sign In   
  • Create Account


error in texture2d grad in glsl


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 vinesh   Members   -  Reputation: 101

Like
0Likes
Like

Posted 23 March 2013 - 04:25 AM

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...

Attached Thumbnails

  • ocean error.jpg

Attached Files



Sponsor:

#2 x6itru   Members   -  Reputation: 149

Like
0Likes
Like

Posted 23 March 2013 - 05:47 AM

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



#3 powly k   Members   -  Reputation: 645

Like
0Likes
Like

Posted 23 March 2013 - 09:14 AM

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.



#4 x6itru   Members   -  Reputation: 149

Like
0Likes
Like

Posted 23 March 2013 - 10:29 AM

he didnt specify which glsl version he's using.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS