View Full Version : God rays in Cryengine 3?
06-15-2012, 01:52 PM
Hey guys, I currently working on a scene and was wondering if anyone knows how create god rays in cryengine 3. I have been reading some stuff on point light shafts, but I cant really find info on how to use them, if anyone could help that would be great thanks!
06-15-2012, 02:54 PM
not sure if this helps but..
on the time of day window about 2/3 the way down are the settings for sun rays and sun shafts. I think they only work when something is partially obscuring the sun in your line of sight as they are part of the bloom effect.
doh! found it...
06-15-2012, 07:49 PM
Hey thanks! So do I just use , the shader on a geometry plane or something? I am try to achieve the way the god rays are affecting the fog in this picture http://img.photobucket.com/albums/v247/robthestampede/NewEnvionment.jpg. Anyways thanks for your help!
The option in the TOD settings is for the sun only. If you want to use them on a point light, which I believe they added in one of the patches, you may need to enable it in both the lights property and by a console command.
Both are post-process effects and are view-dependant so you'll need to be looking at the source for the effects to be visible unfortunately, unlike in Crysis where they had proper 3d-volumes.
Another way is just to use a plane with a fancy shader on it, but you loose the dynamic sharding of the rays.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.