Anyone able to tell me, what is the equivalent of the GLSL ‘textureLod’ method in HLSL?
Did some googling but nothing apparent.
I tried ‘Tex2dLod’ but this gives an ‘undeclared identifier’ error.
Anyone able to tell me, what is the equivalent of the GLSL ‘textureLod’ method in HLSL?
Did some googling but nothing apparent.
I tried ‘Tex2dLod’ but this gives an ‘undeclared identifier’ error.
You should try searching for Tex2DLod … and be aware hlsl is case sensitive.