dsoft20 / psx_retroshader

Shader that "emulates" the rendering style of ps1
MIT License
1.13k stars 91 forks source link

psx_retroshader

Shaders collection for Unity that "emulates" the rendering style of ps1

WebPlayer (it's an old build): https://dl.dropboxusercontent.com/u/1050404/psx/psx.html

You can see it in action here: https://www.youtube.com/watch?v=MxcLA--2v-Y

ScreenShot ScreenShot

Content & usage

psx_retroshader includes 4 shaders, plus a simple posterize image effect (cPrecision.cs):

Vertex lit shaders now supports spotlights too!

Example of the posterize shader: ScreenShot

All shaders supports Fog, polygon cut-out & distortion amount.

Warning

Like the original ps1 this shader use affine texture mapping, so if you apply a texture on a large quad you'll see it very distored. To avoid excessive distortion you have to add triangless to the mesh.

Example:

ScreenShot

As you can see the effect is better when the mesh is subdivided (bottom left mesh) instead of when the mesh have a low poly count (top right mesh)