Vertex-colored & Vertex-lit Shaders (N64/GC/DS/PS1/PS2 style)
Bring back vertex colors and vertex lighting, like it was done in the old days! Essential if you're going for accurate N64/PS1/PS2/DS era graphics.
by Oddly Shaped Dog
Price History +
Overview
This is a collection of shaders I use to replicate the look of Nintendo 64 models and sprites. Unlike the standard built-in shaders, these shaders use per-vertex lighting and support vertex colors, two key aspects of older videogame graphics.
Vertex lighting vs per-pixel lighting comparison
List of shaders included
- Vertex-lit & Vertex-colored/
- Opaque/
- Dual texture: Allows you to transition between two different textures on the same model, with vertex lighting. I used this on the ground tiles in a digging game to transition between the default state and the "dug" state.
- Vertex-lit Alpha Blend: Overlays a texture and a color (optional) on top of a model's vertex colors, with smooth edges.
- Vertex-lit Alpha Clip: Overlays a texture and a color (optional) on top of a model's vertex colors, with pixelated edges.
- Vertex-lit Modulate: Tints a texture with a model's vertex colors in multiply mode.
- Transparent/
- Alpha Blend: Displays a transparent texture with smooth edges.
- Alpha Clip: Displays a transparent texture with pixelated edges.
- Billboard Alpha Blend: Renders a sprite as a billboard (always faces the camera) with alpha blending. Great for Bomberman/Smash style item pickups.
- Billboard Alpha Clip: Same as above, with pixelated edges.
- Animated Billboard Alpha Blend: Plays an animation from a sprite sheet as a billboard with smooth edges.
- Animated Billboard Alpha Clip: Plays an animation from a sprite sheet as a billboard with pixelated edges.
Shader features