- Home /
Question by
SilverHawks · Jul 29, 2015 at 02:36 AM ·
lightinglightmapdynamicemission
Creating a TV with correct lighting
I'm trying to create a TV in my scene. I got the TV to play but i'm having trouble getting the correct lighting from the mesh. The lighting should change based on whats on the screen. not sure how to do this? So Far i tried using dynamic lighting via
` Color colorLight = Color.white * Mathf.LinearToGammaSpace(5);
renderer.material.SetColor("_EmissionColor", colorLight);
DynamicGI.SetEmissive(renderer, colorLight);`
That just bumps the white color up.(or what ever color i put).
Thank you
Comment
Your answer
Follow this Question
Related Questions
Realtime emission material during runtime 0 Answers
Dynamic objects lighting and rendering (exterior scene) 3 Answers
Emissive materials are not working with Player 0 Answers
Toggling specific lightmaps for individual lights? 0 Answers
Problem with emissive materials/ lighting after Collab 0 Answers