Manipulating Procedural sky properties

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mbuytaers

Hi there,

I’m new to the Godot game engine and i don’t really know much about coding inside gdscript.

I have to create a virtual installation in Godot where i Need to have 6 different horizons viewed from 6 windows.

I figured i would have to manipulate the following properties by the position of the player in the room or create a zone where those properties are changed:

ground_horizon_color
sky_horizon_color
sky_top_color

But i don’t have a clue on how to do it.

If you could advise me on this i would really appreciate.
Thx
Mathieu

Are you familiar with coding? I did a bit of code to manipulate sky colors, but it’s pure gdscript… See here: https://gitlab.com/Zipperflunky/vgs_prime/-/tree/main/VGS-Prime_v1/tmp

frankiezafe | 2021-06-23 12:19

You could probably use use viewports with custom environments for each, and draw that behind each window.
Here’s a bit of info on doing something similar

andersmmg | 2021-07-03 06:38