Material_ID_texture sampler2D for post-processing #9910
goosegarden
started this conversation in
3D
Replies: 1 comment 1 reply
-
As far as I know, this can't be done efficiently in a forward renderer, only in a deferred renderer. If this is the case, then this proposal would depend on #8295 being implemented first. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Adding a Material_ID sampler2D texture for post-processing.
It would display objects as flat-coloured with a different color for each material_id, so the color can be used to identify a specific mesh surface in the post-processing stage.
In addition to depth_texture, normal_texture and velocity_texture, it would give more possibilities for custom layered post-processing, by allowing to apply a specific post-processing effect to a specific mesh, or a specific surface.
Beta Was this translation helpful? Give feedback.
All reactions