VEX Dictionary / ptexture
ptexture
Reads a filtered color or value from a Ptex map file at a given face; superseded by texture.
group: textureshadingmapfile
Available in every context
Usage
<type> ptexture(string map, int face_id, ...)
<type> ptexture(string map, int face_id, float s, float t, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
matrix3 ptexture(string, int, ...)displace, fog, light, shadow, surfacematrix3 ptexture(string, int, float, float, ...)all contextsmatrix ptexture(string, int, ...)displace, fog, light, shadow, surfacematrix ptexture(string, int, float, float, ...)all contextsfloat ptexture(string, int, ...)displace, fog, light, shadow, surfacefloat ptexture(string, int, float, float, ...)all contextsvector4 ptexture(string, int, ...)displace, fog, light, shadow, surfacevector4 ptexture(string, int, float, float, ...)all contextsvector ptexture(string, int, ...)displace, fog, light, shadow, surfacevector ptexture(string, int, float, float, ...)all contexts