Jump to content

[SOLVED] show deferred_occlusion in post render


photo

Recommended Posts

Posted

if i input "post_deferred_color" in the post rendering parameter. i can see the deferred color

so i copy the code and try to see the deferred_occlusion texture. but can't use in the post. it only works in render parameter

here is my post_deferred_occlusion material

 

<material name="post_deferred_occlusion" hidden="0">
 
  <!-- shaders -->
  <shader pass="post"
   vertex="core/shaders/post/vertex_deferred_sample.shader"
   fragment="core/shaders/post/fragment_deferred_sample.shader"/>
 
  <!-- textures -->
  <texture name="color" pass="post" type="procedural"/>
  <texture name="deferred_occlusion" pass="post" type="deferred_occlusion"/>
</material>

 

 

my question is how to display the occlusion map on screen in the post parameter.

thanks

Posted

post_deferred_occlusion and post_deferred_light materials will be available in the next SDK update.

Current engine doesn't support this textures inside post materials.

×
×
  • Create New...