Lua Shader Texture Lookup Functions
From GiderosMobile
Texture lookup functions are available to vertex, geometry, and fragment shaders. However, the level of detail is not implicitly computed for vertex or geometry shaders.
Function | Syntax | Description |
---|---|---|
texture2D | texture2D(fTexture,fTexCoord) | Example |