Lua Shader Texture Lookup Functions

From GiderosMobile
Revision as of 01:46, 7 November 2023 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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