For any feature requests to either the Skyline Engine or the websites and forums please leave your suggestion here.

Set.Scene_Brightness(int);

Set.Scene_Brightness(int);

Postby epsilonion » 07 Oct 2017, 08:42

get.sceneBrightness(int);
set.sceneBrightness(int);


After looking through the API I can see settings like set scene speed but no set scene brightness.

Been able to control scene brightness in general via lua will make it so that weather patterns and seasons can be coded and and alter the scene brightness to according to what the weather is doing at game run time.

i.e. Bright sunny day, the weather starts to set in with cloud cover and the overall brightness of the scene is reduced, after a while it starts to rain and the temperature drops further with a little decrease in general scene brightness.

As the rain starts to stop the scene stays darker until the clouds start to clear and the scene brightens up and the temperature starts to climb.

This is relativity easy to code but having the control over the scene brightness will help with the general look of a scene when the weather sets in, also the decrease in brightness will give you a natural sense of a drop in temperature.
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Set.Scene_Brightness(int);

Postby SpiderMack » 07 Oct 2017, 12:02

I agree directionnal light control is not enought because ambient lighting influences a lot the scene brightness.

Also some sort of Time of Day system and let user control it would be even better.
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: Set.Scene_Brightness(int);

Postby SolarPortal » 07 Oct 2017, 12:31

Controlling scene atmosphere from lua is all planned for light levels, ambiences. We have already added fog but the others do need added. Just like material editing from lua ;)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Feature Requests

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron