|
Post by commended on May 20, 2016 18:28:09 GMT
Hi all, In my game I have a strong sunset aswell as lots of white skyscapers, the sunset is a very strong orange and I wanted the godrays to work just for orange (Though I wouldn't mind if it went a bit white) Is this possible, also if it isn't obvious I'm using the Godrays script which I believe was made by Power SuperSport
|
|
|
Post by Power Supersport on May 20, 2016 19:16:41 GMT
Your suspection is false... I am not the original creator of the shader... I don't know why do you want to use only orange when I am telling you that only orange isn't going to look good... What you can try to do is to lower the brightness of the rays... I can take a look at the script, but I don't promise anything... I don't know much HLSL... BTW, I am not SuperSport... I am just Supersport... A little correction...
|
|
|
Post by indiedev on May 21, 2016 2:37:07 GMT
the line to look at is: if (sample.r+sample.g+sample.b < 2.0f) sample.rgb=0.0f;
increasing < value reduces colors so only white makes rays, lowering makes more colors and rays. maybe you can delete the g and b so only r colors do it?
edit: even so you will still get red+white as it all works on scene gamma levels, so it may be easier to make your skyscrapers darker with grey sunlight then increase scene gamma with sample.rgb
|
|
|
Post by Das Uberstein on May 23, 2016 3:19:35 GMT
And just to clarify. You need System Shaders 3.0 (I think) to use GodRays and the Parishes. A game well known in every British pupil deserves this:Wow, to dang big. Can someone resize this.
|
|