Scripted Shaders - Examples of results

The importat thing to point out here is that once the new and more general vertex and pixel shaders were written, no new HLSL code was required to create these effects, only new scripts.

Scaling based on player distance, changing the scale of the matrix sent to the vertex shader.

"Bubbling" + glow

Glow based on player distance, sending different raw emissive data

Raw albedo going up and down on all channels + glow + bubble effect

A model that is always turned away from the camera if the camera is looking at it, but starts to look at the camera if the camera looks away. Done by changing the rotation of the matrix sent to the vertex shader.