Dear Team
DeferredShading is one of the top sample in the SDK, really beautifull for the usage of :
cache of pUniformMapping
Nice usage of PFX and custom semantic approach (more elaborate the intro Pfx demo , of course )
Quad Shading technique
i tried to make it work with other Meshes but unfortunately the program render with gl error ,
i would like to know that the bi-tangent calculation is mandatory (checked during the export ) and did you produce your mesh with not documented parameters ???
will it be a good idea to put more information in your /Documentation/Whitepaper section about it ?
is this technic more performant than a multipass rendering , and do you have a kind of benchmark on SGX mesuring this aspect ??
regards
david
for good doc about the subject this link is interesting
http://download-software.intel.com/sites/default/files/m/d/4/1/d/8/lauritzen_deferred_shading_siggraph_2010.pdf
Hi David,
Sorry or not answering this one sooner.
- Yes, you need to export your meshes with tangents. The tangents are used to generate the GBuffer
- Agreed. It should be better documented
- Do you mean using MRTs vs. rendering in multiple passes? MRTs are more efficient, as vertex is only done once instead of n times. We do not have any benchmark figures for this. You can get a rough idea by comparing the performance of the OGLES3 (with MRTs) and OGLES2 (without MRTs) version of this Example
Thanks,
Joe
First of all , thank for your answer.
what i mean was more about the usage of the GBUFFER , is it really efficient ?
how did you prepare the assets for the demo ? (i mean any specific hidden parameter etc etc )
i tried to reproduce from scratch ,but…wow not easy for me, and i know your tools a bit
thank for the learning here
david
Hi David,
Our Deferred Rendering implementation is completely optimized. However, the technique is only really worth using if you have many dynamic lights.If you only have a small number of lights in your scene, the additional computational overhead required for this rendering technique is unlikely to be worthwhile.
The only difference between the parameters used for the assets in this demo and those used in others is that tangents have been exported. You can use PVRShaman to open the POD & inspect the data contained in it.
Cheers,
Joe
thanks alot + the description you gave me help alot