Vertex-colored & Vertex-lit Shaders (N64/GC/DS/PS1/PS2 style)
Oddly Shaped Dog
$4.99
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
11/14(2023) |
4.99 |
11/07(2024) |
4.99 |
Jump AssetStore
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.OverviewThis 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 comparisonList of shaders includedVertex-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 featuresMain featuresWhere applicable, most of these shaders support these features:Vertex lighting: Most of these shaders use per-vertex lighting instead of per-pixel. This is the key to the hard, diamond-shaped shading artifacts that make old games look the way they do.Vertex colors: Vertex painting was used in N64 games to fake lighting and shadows while saving up on texture storage space. You can paint or bake vertex colors in Blender, and use the vertex-colored shaders to render them in Unity.Fog: Older 3D games used fog to avoid having to render large environments. These shaders support fog, allowing you to recreate this aspect of the N64/PS1 look.(Optional) N64 style texture filtering: Enable accurate N64-style three-point filtering.Shader parametersLit/Unlit: Enable or disable lighting for each material.Base color: Replace or tint all of your model's vertex colors with this base color. Same as the diffuse color in most shaders.Overlay color: An optional color overlay that allows you to replace a model's base texture or color with another color. This is useful for making characters flash white/red when they get hit.