Multiple Sky Elements

Hello,



I would like if it is possible to stack multiple sky elements so they are always infinitely far away.

(in this case I want to add a city skyline in front of a sky generated by the SkyFactory)

The documentation states that it is possible to use geometries and quads, but I’m not quite sure how they should be set up so their behavior is similar to the one done by the SkyFactory while being able to decide their rendering order. (how would you decide the distance from the root node?)



Thanks!

I’m not sure but possibly you will need:

  • z order
  • camera frustum culling settings

As far as i understand your sky elements willbe with unshaded material with alpha. Just attach it to them rootnode and set location and rotation.



Or possibly you will need to get direction of the camera and change their distance…