godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.05k stars 21.18k forks source link

Skybox rotation support #525

Closed SirPigeonz closed 7 years ago

SirPigeonz commented 10 years ago

Mostly useful in Y axis to change direction of the sun, but probably someone in future will find use case for other axis as well. :)

bdero commented 10 years ago

Could be useful for a rotating space station kind of scene as well!

On Tue Jun 17 13:15:14 2014, n-pigeon wrote:

Mostly useful in Y axis to change direction of the sun, but probably someone in future will find use case for other axis as well. :)

— Reply to this email directly or view it on GitHub https://github.com/okamstudio/godot/issues/525.

punto- commented 10 years ago

Ender's Game Battle Simulator

On Tue, Jun 17, 2014 at 2:46 PM, Brandon DeRosier notifications@github.com wrote:

Could be useful for a rotating space station kind of scene as well!

On Tue Jun 17 13:15:14 2014, n-pigeon wrote:

Mostly useful in Y axis to change direction of the sun, but probably someone in future will find use case for other axis as well. :)

— Reply to this email directly or view it on GitHub https://github.com/okamstudio/godot/issues/525.

— Reply to this email directly or view it on GitHub https://github.com/okamstudio/godot/issues/525#issuecomment-46340960.

SirPigeonz commented 10 years ago

Future is now.

bojidar-bg commented 8 years ago

Tagging for 3.0, for the new renderer :)

avril-gh commented 8 years ago

duplicate of 3D WorldEnvironment-CubeMap rotation #5619

but probably someone in future will find use case for other axis as well.

allready found some in the past :)

it could be definitely useful feature

reduz commented 7 years ago

Problem of this feature is the cost of having to add an extra transform in the fragment program for the reflections. The only possibility of adding this is by not making it real-time (as in, radiance needs to be regenerated if angle changes).

In any case, postponing to 3.1

SirPigeonz commented 7 years ago

This was feature request for old renderer, it could be a bit outdated. If it's too big cost for new renderer maybe it is better to not do this.

Current workflows in games is to make procedural shader with sun that handles sun position. Clouds are just huge spheres with could texture that rotates, or has it's own procedural shader.