Quantcast
Channel: Answers for "Hide a light for a camera"
Browsing all 4 articles
Browse latest View live

Answer by Wolfram

Hm, you should be able to do this with [OnPreRender][1] and OnPostRender. Attach a script with these functions to Camera2, and in OnPreRender disable the light, and in OnPostRender re-enable it. [1]:...

View Article



Answer by LoungeKatt

I am not sure if Wolfram's answer was working by itself in previous versions of Unity, but 4.6 seems to require a slightly different setup. For anyone that stumbles across this like I did, this is what...

View Article

Answer by Wolfram

Hm, you should be able to do this with [OnPreRender][1] and OnPostRender. Attach a script with these functions to Camera2, and in OnPreRender disable the light, and in OnPostRender re-enable it. [1]:...

View Article

Answer by LoungeKatt

I am not sure if Wolfram's answer was working by itself in previous versions of Unity, but 4.6 seems to require a slightly different setup. For anyone that stumbles across this like I did, this is what...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images