Roland Posted August 30, 2014 Share Posted August 30, 2014 Simple question? Is there any god ray shader hidden somewhere in Leadwerks Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
macklebee Posted August 30, 2014 Share Posted August 30, 2014 i am sure shadmar is holding out on us , but as far as I know there isn't an inherent one. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
shadmar Posted August 31, 2014 Share Posted August 31, 2014 I dont believe in god or his rays But yes I have one, depending on what you are combining it with. Bloom? Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Roland Posted August 31, 2014 Author Share Posted August 31, 2014 Yep. Bloom and rays Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
shadmar Posted September 1, 2014 Share Posted September 1, 2014 I got one ready to go with the daynight cycle and bloom. 20 passes at 1/4 resolution is hardly noticable on the fps. However I feel we should probably have some sort of lensflare to go with this. Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
beo6 Posted September 1, 2014 Share Posted September 1, 2014 If i remember correctly i have seen a lensflare class in the C++ headers of Leadwerks. Not sure if that works already since it is obviously undocumented. Quote Link to comment Share on other sites More sharing options...
shadmar Posted September 1, 2014 Share Posted September 1, 2014 Looks like this with these adjustables: uniform float fExposure=0.26; uniform float fDecay=0.9999; uniform float fDensity=0.8; uniform float fWeight=0.24; uniform float fClamp=1.0; const int iSamples = 30; 2 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Guppy Posted September 1, 2014 Share Posted September 1, 2014 Looks like this with these adjustables: uniform float fExposure=0.26; uniform float fDecay=0.9999; uniform float fDensity=0.8; uniform float fWeight=0.24; uniform float fClamp=1.0; const int iSamples = 30; Video is private Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
shadmar Posted September 1, 2014 Share Posted September 1, 2014 was, thanks Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Roland Posted September 1, 2014 Author Share Posted September 1, 2014 Looks just great. Is this available somewhere? Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Thirsty Panther Posted September 2, 2014 Share Posted September 2, 2014 Just love your work Shadmar. Quote Link to comment Share on other sites More sharing options...
shadmar Posted September 2, 2014 Share Posted September 2, 2014 Looks just great. Is this available somewhere? I'll post it here later today. 2 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
shadmar Posted September 3, 2014 Share Posted September 3, 2014 Here is the full daynight shader cycle with godrays and an example map. Several bugs including the wierd offset for the sun was fixed, also lensflare shader inpout is ready, but the lensflare shader isn't yet. Godrays settings have several tweaks wich is read from camara:GetKeyvalue(), easily set from your app in lua or cpp. --godray local fExposure=camera:GetKeyValue("godray_fExposure","0.3") local fDecay= camera:GetKeyValue("godray_fDecay","0.97") local fDensity= camera:GetKeyValue("godray_fDensity","0.6") local fWeight= camera:GetKeyValue("godray_fWeight","0.24") local fClamp= camera:GetKeyValue("godray_fClamp","1.0") local fWhiteOnly=camera:GetKeyValue("godray_fWhiteOnly","0") if fWhiteOnly is set to 1 it will not bleed colors. But I kinda like non white. Forum only allows 5 mb uploads so here is a dropbox link : EDIT: soon in the ws. 7 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Roland Posted September 3, 2014 Author Share Posted September 3, 2014 Thanks a lot shad. What would we do without you Here is my result using the shader. Great work of you. Again. Many thanks 1 Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
nick.ace Posted September 3, 2014 Share Posted September 3, 2014 That looks amazing shadmar! You should put it in the Workshop and bump off all the recent comment spammers there! XD No, but seriously, it looks amazing! Quote Link to comment Share on other sites More sharing options...
tjheldna Posted September 4, 2014 Share Posted September 4, 2014 Thanks Shadmar, looks rad. Quote Link to comment Share on other sites More sharing options...
acd009 Posted December 22, 2014 Share Posted December 22, 2014 EPIC Quote Link to comment Share on other sites More sharing options...
Vaelek Posted January 4, 2015 Share Posted January 4, 2015 This is very awesome! Is there a fix for the black square that is shown when firing at the sky? Also it would be very cool if the ratio of day to night could be adjusted, but without making the stars move un naturally fast. Quote Link to comment Share on other sites More sharing options...
Ameshi Posted January 9, 2015 Share Posted January 9, 2015 Im not geting the godray effect here. I have to put this where? --godray local fExposure=camera:GetKeyValue("godray_fExposure","0.3") local fDecay= camera:GetKeyValue("godray_fDecay","0.97") local fDensity= camera:GetKeyValue("godray_fDensity","0.6") local fWeight= camera:GetKeyValue("godray_fWeight","0.24") local fClamp= camera:GetKeyValue("godray_fClamp","1.0") local fWhiteOnly=camera:GetKeyValue("godray_fWhiteOnly","0") Quote Link to comment Share on other sites More sharing options...
shadmar Posted January 19, 2015 Share Posted January 19, 2015 Godray shader is now in the ws post effect pack, it will also locate any directional light itself and it's direction. 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.