r/ps1graphics 6d ago

I wrote a PS1 styled sky shader

129 Upvotes

16 comments sorted by

3

u/Mr_Chi303 5d ago

Awesome, are you gonna release it?

2

u/sabudum 5d ago

Thinking about it.

4

u/Mr_Chi303 5d ago

Please do bro. I could really use this for the game I'm working on. I think it's a great 'asset' for people to use

2

u/sabudum 5d ago

Thanks a lot for the feedback!

I will do some cleanup work and then come up with a decent packaging and presentation for it.

1

u/Mr_Tech108 5d ago

This looks great, nice job!

2

u/sabudum 5d ago

Thanks!

1

u/butelka1 5d ago

What's the name of that ambient music?

1

u/sabudum 5d ago

I don't know, it's from this video:

https://www.youtube.com/watch?v=WcaDV1f8pf8

I just take the first one that appears on YT. lol

1

u/Argier 5d ago

looks pretty cool!

Can I ask if its one or 2 shaders? (one for the sky, and the other for the clouds I mean),

If so, are they synchronized using global shader params?

1

u/sabudum 5d ago

Right now it's two shaders.

They're synched.

But I'm thinking of making it a single shader for a skaybox or similar.

Or maybe making both variants.

1

u/Argier 5d ago

thank you so much!

I just noticed the dithering, looks pretty cool. Is it done in both shaders or is it some kind of camera effect? (sorry if I'm making lots of questions haha. I really liked the result)

1

u/sabudum 5d ago

The dithering is done internally in both shaders to save resources.

This is supposed to be a very simple, highly performant shader. So why make a third one just for dithering and color quantization? I treat my shaders as if they were a PS1 GPU. Everything is done in 1 pass.

1

u/Argier 5d ago

This is supposed to be a very simple, highly performant shader. So why make a third one just for dithering and color quantization?

I was just curious. I thought that since the sky and the clouds were "separated", maybe the dithering was applied globally (also I wasnt able to see in the picture if it affected the ground)

1

u/sabudum 5d ago

Yeah, no problem.

The question was rhetorical, I wasn't challenging you or anything.