texture
VEX function
Computes a filtered sample of the texture map specified.
Contexts: displace, fog, light, photon, shadow, surface
See also: colormap
-
vector texture(string map) -
vector4 texture(string map) -
vector texture(string map, float ss, float tt) -
vector4 texture(string map, float ss, float tt) -
vector texture(string map, float s0, float t0, float s1, float t1, float s2, float t2, float s3, float t3) -
vector4 texture(string map, float s0, float t0, float s1, float t1, float s2, float t2, float s3, float t3)
Computes a filtered sample of the texture map specified. If you don’t specify coordinates, the values of the s and t variables are used to index the texture.
The forms returning vector4 will have the alpha from the texture map in the fourth component.
You can optionally specify filtering options .