Jump to content

Questions about how to use post_filter_selection.


photo

Recommended Posts

Posted

If a material is applied using post_filter_selection, all nodes that use the same material are colored, but why is the same material differently applied to a sample?

image.thumb.png.d4dbcc0219c8191f6652e0e43038d605.pngimage.thumb.png.b0e55b1325678e1d4a71ebd42ac546a4.png
Posted

Hello!

Quote

but why is the same material differently applied to a sample

This is happens because the example you specified uses custom logic, please refer to following source code "data\samples\shaders\post_selection_00.cpp"

It is inherit material for random object from the list and turn on auxiliary state, while the parental material on other objects remains unchanged.

Unfortunately, it is impossible to do this from the editor, post effect will be always displayed on all objects which is have same material.

Can you tell us what case you are trying to solve in order to suggest you a possible solution?

Thanks!

×
×
  • Create New...