Fitz
10-09-2005, 08:09 PM
Hello I have noticed that nvidia CG has the following listed in the CG doc:
Nonprojective texture lookup with user-specified filter kernel size:
tex2D (sampler2D tex, float2 s,
float2 dsdx, float2 dsdy );
I have been trying to find the equivalent in GLSL and can't seem to find it.. does anyone know if this exists in GLSL?
It is used in the per-pixel displacement mapping demo on nvidia's website which is implemented in CG and SH.
Nonprojective texture lookup with user-specified filter kernel size:
tex2D (sampler2D tex, float2 s,
float2 dsdx, float2 dsdy );
I have been trying to find the equivalent in GLSL and can't seem to find it.. does anyone know if this exists in GLSL?
It is used in the per-pixel displacement mapping demo on nvidia's website which is implemented in CG and SH.