Th3Ya0vi / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Bloom / HDR shaders #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think bloom/hdr shaders (optional, of course) could further improve the 
graphics and it's very easy to implement (there's a nice compositor framework 
in Ogre and bloom/hdr compositors in samples).

Original issue reported on code.google.com by scrawl...@gmail.com on 22 Mar 2011 at 12:31

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 22 Mar 2011 at 12:31

GoogleCodeExporter commented 8 years ago
The problem is there doesn't seem to be a way to render mygui after the 
compositor (correct me if i'm wrong). It has a quite funny effect, it makes the 
GUI partly transparent with a blurred version of the render behind it. Looks 
cool :)

Original comment by scrawl...@gmail.com on 22 Mar 2011 at 5:21

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 22 Mar 2011 at 5:22

GoogleCodeExporter commented 8 years ago
effect on ui:

Original comment by scrawl...@gmail.com on 22 Mar 2011 at 5:27

GoogleCodeExporter commented 8 years ago
Solution could be to remove the compositor when GUI is opened, and show it 
again when GUI is closed. (setCompositorActive)

Original comment by scrawl...@gmail.com on 23 Mar 2011 at 10:25

GoogleCodeExporter commented 8 years ago
Another solution: render mygui to a seperate, transparent viewport that is on 
top of the normal viewport.

Btw, if the compositor is already in, one could add Motion Blur too.

Original comment by scrawl...@gmail.com on 23 Mar 2011 at 3:33

GoogleCodeExporter commented 8 years ago
Using Dark Sylinc's Bloom implementation, the gui issue seems to have gone.

Original comment by scrawl...@gmail.com on 23 Mar 2011 at 4:29

GoogleCodeExporter commented 8 years ago

Original comment by scrawl...@gmail.com on 23 Mar 2011 at 5:11

GoogleCodeExporter commented 8 years ago
Compositors can now be enabled via config file. GUI exists too, but it doesn't 
do anything atm.

What's still missing now:

- Motion blur implementation that 1. actually works and 2. only blurs moving 
objects.
- When using the compositors, some overlays like dot on the minimap and gauge 
needles are gone.

Original comment by scrawl...@gmail.com on 23 Mar 2011 at 9:43

GoogleCodeExporter commented 8 years ago
overlay needles and player pos dot issue is gone. It was incorrect to use a 
different render queue group for them. Instead, this has to be done with z 
orders.

Original comment by scrawl...@gmail.com on 24 Mar 2011 at 9:48

GoogleCodeExporter commented 8 years ago
I'm setting this to solved for now, as this issue was only about bloom / hdr. 
Motion blur will be addressed after 1.1 release, then this issue can either be 
re-opened or we create a new. 

Original comment by scrawl...@gmail.com on 25 Mar 2011 at 10:02

GoogleCodeExporter commented 8 years ago

Original comment by tapiovie...@gmail.com on 27 Mar 2011 at 4:17