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

Object basic lit fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec3 vn
 World space normal.
 
uniform vec3 lightDir
 Light direction.
 
out vec4 fragColor
 Color.
 

Detailed Description

Object basic lit fragment shader.

Member Function Documentation

◆ main()

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

Render a mesh with two default lights on each side of the scene.


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