Is it possible to access a material’s texture that is actually rendered to the screen? For example, I have a material that is modified by a shader, in the OnPostRender of my camera I want to take the resulting material’s texture that is displayed to the screen and store it (not the source texture).
Thank you in advance.
Assuming I understand what you are asking, the only way to do that is to use a render target. You would need to take the base texture, and rendering it using that shader to a quad the size of your render target. You can then get the texture result of that render target and use that.
Other than that, there is no way to get a texture of the result of something being rendered at runtime.
Hopefully that helps!