Ahh, in that case, maybe this will help: https://gist.github.com/ompuco/3209f1b32213cec5b7bccf0e67caf3e9
It's the shader code that's used in the Haunted PSX Render Pipeline; perhaps you can make use of it!
Ahh, in that case, maybe this will help: https://gist.github.com/ompuco/3209f1b32213cec5b7bccf0e67caf3e9
It's the shader code that's used in the Haunted PSX Render Pipeline; perhaps you can make use of it!