dsoft20 / psx_retroshader

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

Flat shading with light reflection strength #1

Closed oxysoft closed 8 years ago

oxysoft commented 8 years ago

Hi, first let me say that I grew up with the PSX so this project is really awesome and I am actually using your shaders in my game in development currently. I hope more people start using these because I love the aesthetic created by the PSX's technical limitations

I noticed that you started adding some more features in the past days to make this suite even more complete and while playing Spyro recently, I noticed a cool effect that I think would be a great effect.

Watch the spinning talisman at 11:03 in this video https://www.youtube.com/watch?v=vpjrIzTXdo8 Notice that its golden surface appears highly reflective by using normals to have certain faces almost completely black while faces coming into view are almost completely white. I think adding some sort of reflection strength and whatnot could be a nice addition.

dsoft20 commented 8 years ago

Hi, sorry for the late reply. I have edited the reflective shader a little to obtain something similar to the talisman surface.

test

The edited shader is here: psx-unlit-simple.txt

You have to use a cubemap like this (maybe done better ;P) b

oxysoft commented 8 years ago

Very nice! I'll have to find some uses for the cubemap shaders, could spice it up

here is a picture of my game! image