• Advertisement
Sign in to follow this  

Emulating HLSL's tex2Dgrad() function in GLSL

This topic is 2906 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to implement steep parallax mapping and so far I've not been able to find any GLSL algorithms; only HLSL ones, and all of these use this particular function which isn't available in GLSL. I've done a search on these forums and came across this thread: http://www.gamedev.net/community/forums/topic.asp?topic_id=404627 This post is a few years old so I'm hoping something has come about since then. Does anyone know if there's a solution? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Not sure when it was introduced but GLSL 1.5 have a textureGrad function.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement