Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::combineColorTexture_pix Class Reference


A simple shader designed to combine either two textures or a texture and a color using one of a set of operations. More...

Public Member Functions

void main (void)
 

Public Attributes

uniform sampler2D tex
 
uniform sampler2D tex1
 

Detailed Description


A simple shader designed to combine either two textures or a texture and a color using one of a set of operations.

This is used to load COLLADA models which may have multiple textures. In order to load them into G3D they are combined into a single texture.

Member Function Documentation

◆ main()

void glsl::combineColorTexture_pix::main ( void  )
inline

Member Data Documentation

◆ tex

uniform sampler2D glsl::combineColorTexture_pix::tex

◆ tex1

uniform sampler2D glsl::combineColorTexture_pix::tex1

documentation generated on Wed Nov 24 2021 08:02:03 using doxygen 1.8.15