10 Shaders of Danger

To teach myself how to write vertex and fragment shaders I assembled a set of trippy shaders in Unity.
The top is a swirl shader, the second row from left to right is swirl bump, spiky pinch, wavy pinch.
Third row: bump wavy, two-decal two-color, super decal color shift for shifting the base and three decals plus one plain decal!
Fourth row is double alpha and a color blind tool that blends two given colors in any gradation sampling you could want.
ShaderScene1

I saved the best for last:
WorldPositionCameraTripShader

This one will apply the wavy pinch effect to the camera’s vision based on how close the camera’s aim is to a target object.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s