Rechercher une page de manuel
tex2Dcmpbias.3Cg
Langue: en
Version: 350628 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
tex2Dcmpbias - performs a texture lookup with bias and shadow compare in a given sampler.SYNOPSIS
float4 tex2Dcmpbias(sampler2D samp, float4 s) float4 tex2Dcmpbias(sampler2D samp, float4 s, int texelOff)
PARAMETERS
- samp
- Sampler to lookup.
- s
- Coordinates to perform the lookup. The value used in the shadow comparison should be passed right after the normal coordinates. The bias value should be passed as the last component of the coordinate vector.
- texelOff
- Offset to be added to obtain the final texel.
DESCRIPTION
Performs a texture lookup with shadow compare and bias in sampler samp using coordinates s.PROFILE SUPPORT
tex2Dcmpbias is supported in fragment profiles starting with fp40 and in vertex profiles starting with vp40. Variants with texelOff are only supported in gp4 and newer profiles.SEE ALSO
tex2Dcmplod, tex2DbiasContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre