xml based postprocessing framework

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.

Re: xml based postprocessing framework

Postby christianclavet » Thu May 22, 2014 12:10 am

The devs changed something in the SVN version. The "screenquad" no longer work. The shaders still compiles, but the rendering is now black. Still work fine on 1.8.0
User avatar
christianclavet
 
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA

Re: xml based postprocessing framework

Postby Granyte » Thu May 22, 2014 2:09 am

yes it's the zsorting flagg in the screnquad file it should be always instead of never
Granyte
 
Posts: 846
Joined: Tue Jan 25, 2011 11:07 pm

Re: xml based postprocessing framework

Postby christianclavet » Sun Jul 06, 2014 7:42 pm

Ha! Thanks!

I changed it and it work now with the Irrlicht 1.9SVN (4899)

I had to change this to remove the errors on my end:
In "ShaderPostProcess.cpp" near line 15:

From
cpp Code: Select all
getMaterial().ZBuffer = video::ECFN_NEVER;

to
cpp Code: Select all
getMaterial().ZBuffer = video::ECFN_ALWAYS;

This made the screenquad show the render and not having it black

And in RTT.XML file.
I changed the format from "6"(ECF_A16B16G16R16F)to "10"(ECF_UNKNOWN)
cpp Code: Select all
<RenderTarget id="rttDepth" colorFormat="10" scale="1.0" />

This gave me a RTT error (at runtime).

Tested and it work again.
User avatar
christianclavet
 
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA

Re: xml based postprocessing framework

Postby Granyte » Mon Jul 14, 2014 6:35 pm

the rtt depth should be a floating point format for best result as the "10" will generaly default to the device format
Granyte
 
Posts: 846
Joined: Tue Jan 25, 2011 11:07 pm

Re: xml based postprocessing framework

Postby christianclavet » Tue Dec 30, 2014 8:13 pm

Hi, Since the new release of IRB (0.3). I've fixed all the GLSL shaders from the framework. Most of the errors came as non-specific type conversion (I think the NVIDIA compiler does automatic types conversion, while the Intel compiler does not).

Load this archive and replace the glsl folder and the shaders should all work on other architectures than NVidia (NVidia - Intel - AMD).
http://www.clavet.org/files/glsl.zip 12kb
User avatar
christianclavet
 
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA

Re: xml based postprocessing framework

Postby Vectrotek » Sun Jul 03, 2016 1:20 am

This is very nice stuff! why did discussion suddenly stop in 2014?
I'm trying to implement a XML-less version of it myself.
It is quite complex.. phew!
With a bit of changes it works nicely on my machine..
What happened to tbw?
User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa

Previous

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest