[Tutorial] How to render a skybox [World Renderer]

Started by sumeshi0216 on

Topic category: User side tutorials

Last seen on 14:46, 12. May 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Tutorial] How to render a skybox [World Renderer]
Sun, 05/12/2024 - 03:27 (edited)

In order to render a skybox, you will need to use a procedure "Render skybox." Also, an event trigger "Graphics - Render sky." is required.

There is the procedure in a procedure list "Graphics procedures - Sky."

  • Yaw/Pitch/Roll: They are the skybox angles.
  • Color: It is the skybox color.
  • Constant: If it is false, the skybox will be invisible when the dimension has special fog. If not false, the skybox will always be visible.

 

Moreover, you will need to set a texture before rendering as follows. There is the procedure "Set texture" in a procedure list "Graphics procedures - Texture."

Since a skybox has 6 faces, you will need to use a texture with 6 mapped faces as follows. Also, make sure each face has the same aspect ratio.

 

Edited by sumeshi0216 on Sun, 05/12/2024 - 03:27
Last seen on 04:04, 9. May 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm trying to render stars…
Thu, 02/08/2024 - 01:31

I'm trying to render stars and they all appear during the day. How could I avoid this? Am I missing something?

Last seen on 15:36, 25. Feb 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you. But how can you…
Sun, 02/18/2024 - 09:06

Thank you. But how can you make the skybox appear in a specific dimension?