Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Frag::Background_forward Class Reference

Background forward fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec2 uv
 UV coordinates.
 
uniform uniform vec3 bgColor
 Background color.
 
uniform bool useTexture
 Should the texture be used instead of the color.
 
out vec4 fragColor
 Color.
 

Detailed Description

Background forward fragment shader.

See also
GPUShaders::Common::Samplers

Member Function Documentation

◆ main()

void GPUShaders::Frag::Background_forward::main ( )
inline

Transfer color.


The documentation for this class was generated from the following file: