Page 1 of 1

New godray shader

Posted: Thu Aug 20, 2015 7:10 pm
by Chelaru
The new and improved shader uses 3 passes like the one from Crysis 1 : http://www.slideshare.net/TiagoAlexSous ... s-gdc-2008 page 63,64 .

What you get in this shader: better rays, ability to change the color of the rays.
The cost is minimal.
The old shader ~175fps
The new shader ~170fps


Old:Image
New : Image

The gui : Image

Thank you andrewmac for the help.

Re: New godray shader

Posted: Tue Aug 25, 2015 6:00 am
by chriscalef
Nice!

Re: New godray shader

Posted: Fri Aug 28, 2015 8:25 pm
by Chelaru
If you want the shader. I have the direct3d version and the gl version :D .

Re: New godray shader

Posted: Mon Sep 07, 2015 7:16 pm
by Chelaru
Update. After some optimization i got the new shader to be at 182fps. And get it to look like the one from witcher 3