Jump to content

Can interior lighting be changed via script?


mrbic

Recommended Posts

I was making a script that, as a side effect, would add working lights to an interior. I personally think that static lights don't do the full job, so modifying the interior lighting is something important after activating the static lights. Is it possible to do that with the script?

 

@nnyftw- I had made a mistake when I said "static lights", what I was trying to refer to was the lights that you place in locations within the interior. What I'm trying to modify, is the actual interior lighting values which is in the cells settings.

 

@steve70- I just got done looking at what image space modifiers are, and that looks like a usable solution.

Edited by mrbic
Link to comment
Share on other sites

I was making a script that, as a side effect, would add working lights to an interior. I personally think that static lights don't do the full job, so modifying the interior lighting is something important after activating the static lights. Is it possible to do that with the script?

don't know about a way of directly changing cell lighting (if you find any, please post),, but you can apply image space modifiers.

they're under uhm i think effects in the object window, and if you enable sky in the render window options, you can directly preview their effects there.

and you set them with ApplyImageSpaceModifier Name and remove them with RemoveImageSpaceModifier Name

Link to comment
Share on other sites

Make a variable (how you manipulate that variable is up you, you could have a switch whatever), have a script attached to an object in the cell (preferably a something that stands out in the editor, a floating box?) read that variable and enable/disable a light (may have to make a unique one).
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...