Screen space effects per object
What are the more common ways of doing screen space objects customized per object? Say if you have a glow effect and you want to control the intensity or dispersion per object, is it acceptable enough to do a separate pass for each mesh to blend them at the end or is there a more efficient method that I cannot think of?
For something like a glow effect it's common to render a "brightness" parameter to the alpha-channel, and then sample that during your glow pass. For effects where you need to store more information (like velocity for screen-space motion blur) it's common to use multiple render targets.
For certain things you could also possibly use the stencil buffer as a mask.
For certain things you could also possibly use the stencil buffer as a mask.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement