Eulerian Smoke Simulation on the GPU
shaders/MvpVert.vs File Reference

A vertex shader that multiplies the vertex positions with the Model-View-Projection matrix. More...

Functions

void main (void)
 Vertex shader entry point.

Variables

uniform mat4 projectionMatrix
 The projection matrix generated from the Camera.
uniform mat4 ViewMatrix
 The ViewMatrix generated from the Camera.
uniform mat4 ModelMatrix
 The ModelMatrix generated from the scene transforms.
attribute vec3 inPosition
 The incoming vertex positions.

Detailed Description

A vertex shader that multiplies the vertex positions with the Model-View-Projection matrix.

 All Classes Files Functions Variables