Started by
sumeshi0216
on
Topic category: User side tutorials
In order to render sun and moon, you will need to use the event trigger "Graphics - Set up dimension" and set up your dimension.
Next, add a new procedure element and use the event trigger "Graphics - Render sky."
The following procedures allow you to render the sun and the moon. There are the procedures in the list "Graphics procedures - Sky."
- Size: It's a texture size.
- Color: It's a texture color.
- Phase: It's whether the texture has phases like the moon. If you need the phases, a texture with 8 mapped textures as below is required.
- Constant: If it's false, the texture will be invisible when it rains or snows. If it's true, the texture will always be visible.
Moreover, you will need to set a texture before rendering as follows.
There is the procedure "Set texture" in the list "Graphics procedures - Render effects."
Here is the guide for textures
In order to set the angles, you will need to use the procedure "Render texture in the sky."
There is the procedure in the list "Graphics procedures - Sky."
- Size: It's a texture size.
- Yaw/Pitch/Roll: The are texture angles.
- Color: It's a texture color.
- Constant: If it's false, the texture will be invisible when it rains or snows. If it's true, the texture will always be visible.
Edited by sumeshi0216 on Fri, 08/16/2024 - 03:30
I'm having a very strange issue, essentially I want a custom moon in my dimension but it only renders if I also set up the overworld and put the custom moon there too. I can't just put it in the custom dimension because it doesn't render at all then. Has anyone encountered a similar issue?