Game Engine Forum - Grit
http://www.gritengine.com/game-engine-forum/

Additional Libraries and Functionalities
http://www.gritengine.com/game-engine-forum/viewtopic.php?f=2&t=1689
Page 2 of 2

Author:  Spark [ Sun Aug 17, 2014 5:41 am ]
Post subject:  Re: Additional Libraries and Functionalities

Not tested but this will probably work:

lens_flare.enabled = false

Author:  Brian [ Sun Aug 17, 2014 10:12 am ]
Post subject:  Re: Additional Libraries and Functionalities

Will give it a try soon.

Or maybe put some more subtle textures on it and see what everyone thinks of them.

So distracting though :o

edit: It worked, with no error. Maybe it can be a graphics option or something.

I am not dissing the work on it, I just am of the physical side on that, rather than the cinematic.

Author:  Augusto Moura [ Sun Aug 17, 2014 10:03 pm ]
Post subject:  Re: Additional Libraries and Functionalities

You can easily remove it adding this command:
Code:
safe_destroy(lens_flare)
at the user_script.lua file on media folder (it's a good way to disable or modify things on grit, if you don't have this file just create it)

Author:  Augusto Moura [ Sun Aug 17, 2014 10:13 pm ]
Post subject:  Re: Additional Libraries and Functionalities

But disabling it on graphical options is a good idea

Author:  Razzeeyy [ Wed Aug 20, 2014 7:18 pm ]
Post subject:  Re: Additional Libraries and Functionalities

Augusto Moura, updated lens flare is amazing! Liked it a lot. Nicely done! Now grit looks more crysis-ish :D

Author:  Augusto Moura [ Fri Aug 22, 2014 2:22 am ]
Post subject:  Re: Additional Libraries and Functionalities

Thank you :D

Author:  Brian [ Fri Aug 22, 2014 9:43 am ]
Post subject:  Re: Additional Libraries and Functionalities

A lot less distracting now, nice and subtle. Wonder if that small blue should switch places with the bigger green before it, though.

Author:  Augusto Moura [ Fri Aug 22, 2014 3:11 pm ]
Post subject:  Re: Additional Libraries and Functionalities

Great, done :)

Author:  Brian [ Mon Sep 01, 2014 6:17 pm ]
Post subject:  Re: Additional Libraries and Functionalities

Yea, that's even better, makes it have more depth and you can visualize the lens thickness easier. Well done. Way better than the first pass.

Author:  Spark [ Mon Sep 01, 2014 7:43 pm ]
Post subject:  Re: Additional Libraries and Functionalities

It's subtle and gives a nice feel.

Author:  Augusto Moura [ Fri Aug 28, 2015 5:48 pm ]
Post subject:  Re: Additional Libraries and Functionalities

Link to video on YouTube
i should post this here, where i first mentioned it :roll:

Author:  Razzeeyy [ Fri Aug 28, 2015 8:17 pm ]
Post subject:  Re: Additional Libraries and Functionalities

Augusto, that is amazing!

Author:  Augusto Moura [ Sat Nov 19, 2016 8:06 am ]
Post subject:  Re: Additional Libraries and Functionalities

The right way to implement lens flare occlusion: http://http.developer.nvidia.com/GPUGem ... _ch29.html
Also i think it should render as "add" (just adding luminosity to the given pixel) and not as "replace" (can sometimes darken some already lightened pixels)

So, probably not rendering it as HUD or particle (billboard), but a custom approach as we need to have a tight relation to occlusion queries and depth test

Author:  Brian [ Sun Nov 20, 2016 7:21 am ]
Post subject:  Re: Additional Libraries and Functionalities

actually, yeah, I think you Are right: if we want to render cinema and not the human eye, it should be that way. Easily. I like human eye, but I can't argue against that argument!

PS I have a map to port to the engine. I will release it soon when i finish working out my own bugs! but you have to port it from obj to engine!

Page 2 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/