



Bayla's PSX Shader
Etiquetas
Descripción del producto
An easy-to-use shader for textures that emulates the look of PlayStation 1 graphics, including dithering, color quantization, and pixelation. This shader is designed for use in Unity and can be applied to both materials and post-processing effects.
Key Features
- Wobbly Vertex Snap: Recreates the PS1's affine, jittery geometry by snapping clip-space positions to a configurable virtual screen resolution (default 320x240).
- Affine Texture Warp: Optional per-triangle linear UV interpolation instead of perspective-correct mapping, for that authentic warping/swimming texture look.
- Retro Color Reduction: Posterizes color output to a configurable number of levels per channel (15-bit/32-level by default) with the PS1's hardware 4x4 ordered dither pattern to soften banding.
- Chunky Texture Sampling: Independent texel pixelation density plus manual point/bilinear filtering that overrides the texture's import settings, with no mipmapping for authentic distance shimmer.
- Full Color Grading: Hue shift, saturation, and contrast controls, applicable either before or after the tint color multiply.
- CRT Scanlines: Screen-space scanline overlay with adjustable count and intensity for a period-accurate display look.
- Gouraud or Per-Pixel Lighting: Toggle between authentic per-vertex lighting and smoother per-pixel lighting, both driven by a single directional light plus SH ambient (ForwardBase only).
- VR & Performance Ready: Includes single-pass stereo and instancing macros, plus an instanced shadow caster pass, for low-overhead performance in VRChat.
Credits
Product preview is using Yip by Zelfine with permission. (Thanks, Zelf! 💕)