Implements a dynamic atmosphere shader, based on the Nishita sky model. The code is ported from https://github.com/wwwtyro/glsl-atmosphere.
An example can be found in basic/AtmosphereExample.
[x] (dynamically hand over sun position data via @ShaderProperty)
[x] Implement key binds for sun position (via dragsphere behavior)
[x] write vertex shader for sunproxy sphere to disable translational movement circumvented dragbehavior with keybinds
[x] Synchronize a directional light to the sun position
[x] Create a default atmosphere object that can be imported to automatically set up an atmosphere
[x] Add an emission material property to the render pipeline so that the atmosphere object does not require to be lit by point lights
[x] Create vertex shader to to always put the icosphere in the background like a skybox (see learnopengl.com)
Implements a dynamic atmosphere shader, based on the Nishita sky model. The code is ported from https://github.com/wwwtyro/glsl-atmosphere. An example can be found in basic/AtmosphereExample.
write vertex shader for sunproxy sphere to disable translational movementcircumvented dragbehavior with keybindsSynchronize a directional light to the sun position