Difference between revisions of "Lua Shader Texture Lookup Functions"

From GiderosMobile
(Created page with "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. {|...")
(No difference)

Revision as of 23:28, 2 July 2020

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