- Home /
Question by
pragmascript · Aug 11, 2011 at 05:52 AM ·
shaderlightingrendertexture
albedo in post effect shader
Hey,
I need the albedo of the scene in a post effect shader, but it seems you would only have access to the albedo inside a lighting shader. Can i render the albedo to a rendertexture somehow?
Comment
Wouldn't the "albedo" of the rendered frame just be the RGB?
it would be the rgb if there was no lighting and ambient-light was set to white i guess
True - if you don't $$anonymous$$d running an extra pass, that would certainly do it.
@pragmascript So - this would require a second pass, but you could render the entire scene with Replacement Shaders, using an Unlit shader to give you no lights, specular, etc. That should give you a scene with just your albedo.