Jump to content

[SOLVED] how to get the the procedural deferred_color as image?


photo

Recommended Posts

hi:

   I'm trying to get the deferred_color as  a Image. Here is what i tried.

use <texture name="deferred_color" pass="post" type="deferred_color"/> in a post material file and  use renderimage2D to render the screen

but the color will affected by other settings like SRGB. I tried use material.getProceduralTextureImage to get directly but failed.

 

what's the proper way to do this?

 

thanks

Link to comment
×
×
  • Create New...