+1
Retro Shader
Hi,
Do you think it is possible to do a retro shader with shader forge, a bit like this : https://github.com/keijiro/Retro3D ? Like the shader used for the ps1
It's using pixel snaping as a vertex offset I guess, and has some distortions over the uv's
Thanks in advance for adivces !
Customer support service by UserEcho
Sorry I'm really bad at coding and shaders are really hard. I made a lot of reasearch and I managed to achieve what I want by tweaking the code part of "Pixel Snap" included in the shader forge settings.
But, It's kind of boring to remake this operation anything I change something with shader forge. That's why I really want to do it inside the node editor.
I think I can achieve this using UNITY MATRIX P and UNITY MATRIX MV, I already tried that with the code node, but it's not working. How can have these inside shader forge ?
Hey,
I managed to adapt the Keijiro code and convert, I guess, any shader forge code to a retro shader.
Unfortunatly I did that by code editing and did not figured out how to do it with nodes.
If you are interested, here are the steps:
Note that for debug purpose, this was tested with the default untouched shader forge pbr.
Done !
There is no shadow pass to follow the vertex offset, I tried to add one, but doing that is way too glitchy (imo). That's why the original one by keijiro is unlit I think. Anyway, you can bypass that problem with baked shadows, or set the cast shadow of mesh renderer to "off" (and still have the lit and normal map, and fog, things that the original from keijiro does not have) .
Of course, if someone finds a way to do that directly with shader forge, I would be happy to try :)