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

Object basic lit vertex shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec3 v
 Position.
 
in vec3 n
 Normal.
 
uniform mat4 mvp
 The transformation matrix.
 
out vec3 vn
 World space normal.
 

Detailed Description

Object basic lit vertex shader.

Member Function Documentation

◆ main()

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

Apply the transformation to the input vertex. Compute the world space normal.


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