Stereo Cancer by xwidghet - 1

Shaders & Effects

An open-source stereo-correct screen-space shader for Unity, mainly intended for usage in animations and games such as VRChat.

Unknown VersionOtherUpdated 4 days agoCreated on June 15th, 2020
Go to source

StereoCancer

An open-source stereo-correct screen-space shader for Unity, mainly intended for usage in animations and games such as VRChat.

Features (Shown above)

Image Overlay (Blended, Tiled, Clamped, Alpha-CutOff, Override Screen & Empty Space)
Constrain UV Per-Eye
UV Wrapping
Shrink/Expand Width & Height
Rotation
Movement
Split
Skew
Bar
ZigZag
Sin & Tan Wave
Slice
Ripple
Checkerboard
Quantization
Ring Rotation
Warp
Spiral
Fish Eye
Kaleidoscope
Glitch
Simplex Noise
Voroni Noise
Geometric Dither
Stripes
HSV Color Adjustment
Chromatic Abberation
Scalable Static/TV Noise (Referred to as Signal Noise)
RGB Color Displacement (Referred to as Red/Green/Blue Move)
Screen-Space Shader Opacity

Usage

  1. Create a cube.
  2. Adjust the scale of the cube. Anyone who enters the cube, or sees the cube, will see the screen-space shader. The screen-space shader effects are independent of the object scale. So if you find it was too big or small, you can always adjust it later.
  3. Add StereoCancer to your unity project.
  4. Create a material from the StereoCancer shader, and put it on the cube.
  5. Adjust the parameters on the material to your liking, or create an animation.

Performance Considerations

This shader automatically optimizes for performance when the strength of an effect is reduced to 0. So in the intrest of keeping what little frames the community gets in VRChat, please ensure unused effects on animations are actually fully disabled to allow the shader to run as efficiently as possible.

Advanced Usage

I have added comments to this shader’s implementation file (StereoCancer v0.1.shader) to hopefully make it easy for users to extend this shader, or write their own afterwards.

Show all projects by xwidghet