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

Colored object vertex shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec3 v
 Position.
 
in vec3 n
 Normal.
 
uniform mat4 mvp
 The transformation matrix.
 
uniform mat4 normalMat
 Model to world space for normals.
 
out vec3 n
 The world space normal.
 

Detailed Description

Colored object vertex shader.

Member Function Documentation

◆ main()

void GPUShaders::Vert::Colored_object::main ( )
inline

Apply the MVP transformation to the input vertex.


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