Topic category: User side tutorials
In order to render skyboxes, you will need to use an event trigger "Graphics - Set up dimension" and set up your dimension.
Next, add a new procedure element and use an event trigger "Graphics - Render sky."
The following procedure allows you to render a skybox.
There is the procedure in a procedure list "Graphics procedures - Sky."
- Yaw/Pitch/Roll: They are the skybox angles.
- Color: It's the skybox color.
- Constant: If it's false, the skybox will be invisible when the dimension has special fog. If it's true, 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 - Render effects."
Since a skybox has 6 faces, you will need to use a texture with 6 faces mapped as follows. Also, make sure each face has the same aspect ratio.
Advanced Rendering
Rotate a skybox like stars
Set the pitch to "Day level * 360."
Render a skybox only at night
Set the alpha to "Star level * 255." As it gets darker, the skybox appears smoothly.
You can also render that only during the day as follows.
I'm trying to render stars and they all appear during the day. How could I avoid this? Am I missing something?
Thank you. But how can you make the skybox appear in a specific dimension?
Sorry i don't understand. How do I get texture id and do I set the image as all faces?
See the guide for textures: https://mcreator.net/forum/103066/tutorial-color-and-texture-world-renderer-forge-1194-1201
Moreover, a texture with 6 faces as above should be used.
Hello, i need help, i render a moon, i have to use "Additional" blending, but my moon is translucent and stars are visible through the moon
Render it with default blending and then do it once again with additive blending.
it dosen't work, it's cool at night but ugly at day
There is no better way
what is the procedure set up dimension has been replaced with?
Hey! Thank you for this useful guide! But i have a question, how do i render a specific skybox in a specific dimension? Because i have multiple dimensions and if i use this procedure, all dimension will have the same skybox.
Nvm, figured it out myself, you just have to make an if statement for each skybox, you can make more than 2 if statement like this.
Hope it's readable.