texture2DLod deprecated?

I received this error on my NVidia 8800:
"0(29) : error C7533: global function texture2DLod is deprecated after version 120
"

Really? What do we use to force sampling from a particular mipmap level now?

Read GLSL 1.3 specification:
the sampling instructions are now overloaded without the need to specify the sampler type (no 2D,3D,etc).
Just try textureLod().

Ooohh…Thanks.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.