- Home /
different material for multi camera
if we multiple camera on the scene, can we assign an object a different material for each camera. for example on the first camera all objects are rendered using per pixel lighting shader, while on another camera all objects are rendered by vertex lighting shader
Answer by DaveA · Jul 12, 2011 at 06:02 AM
I think so, check this out: http://unity3d.com/support/documentation/ScriptReference/Camera.RenderWithShader.html
wow cool, it seems posible to do HDR rendering with multiple camera, one for LDR, one for default and one for HDR, then merge its RenderTexture into HDR image and tone mapping it
Your answer
Follow this Question
Related Questions
Using a camera replacement shader but keeping the underlying (original) colors? -4 Answers
Best way to swap between view modes 0 Answers
CommandBuffer's CameraEvent ordering not in sync with shader rendering queue? 1 Answer
Cubemaps using the camera 0 Answers
Determining render order by position 1 Answer