Imagination PowerVR SDK Blog

deferred rendering and shadow map


#1

Hello

Did someone already SUCCEED TO USE shadow Volume using PVRTOOLS AND the deferred rendering sample ?

any suggestion are welcome ?



how to use the depth map already generated to get the shadow map with correct bias value

???

kind regards

david



#2

For People interested ,

the solution is located at :

http://www.codinglabs.net/tutorial_opengl_deferred_rendering_shadow_mapping.aspx



kind regards

david


#3

Hi David,



Glad to hear you found a solution :slight_smile:



if you’d like to see an example like this in a future SDK, please create a feature request for it: https://pvrsupport.imgtec.com/feedback



Thanks,

Joe


#4

Yeah that is a good idea , i was closed from it, it s not good to have new idea when you are close to release.

the deferred sample is so well writen that it’s easy…but seems a bit slow…



kind regards

david



#5

Hi David,



Sorry again for following up on old posts. When you say the DeferredRendering demo is slow, do you mean the OpenGL ES 2.0 or 3.0 version? OpenGL ES 2.0 is known to be much slower, as it has to repeatedly transform the scene as multiple render targets (MRTs) aren’t available.



Thanks,

Joe