Eulerian Smoke Simulation on the GPU
shaders/Blinn.fs File Reference

A basic Blinn fragment shader for generated iso-surfaces. More...

Functions

void main (void)
 Fragment shader entry point.

Variables

varying vec4 position
 The incoming vertex positions varying.
uniform vec4 surfaceColour
 The surface colour.
uniform sampler3D densityTex
 The scalar field texture.
uniform vec3 marchingStep
 The marching step.
uniform bool inverseNormals
 A flag for inversing the suface normals.

Detailed Description

A basic Blinn fragment shader for generated iso-surfaces.

 All Classes Files Functions Variables