View Full Version : User specified kernal size?

10-09-2005, 09: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.

10-10-2005, 01:33 PM
It doesn't exist in GLSL right now for reasons that's beyond me.