Started by
sumeshi0216
on
Topic category: User side tutorials
In order to render the sun and the moon, you will need to use an event trigger "Graphics - Render sky."
The following procedures allow you to render the sun and the moon. There are the procedures in a procedure list "Graphics procedures - Sky."
- Size: It is a texture size.
- Color: It is a texture color.
- Phase: It is 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 is false, the texture will be invisible when it rains or snows. If not false, 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 a procedure list "Graphics procedures - Texture."
Furthermore, in order to set the angle, use a procedure "Render texture in the sky."
There is the procedure in a procedure list "Graphics procedures - Sky."
- Size: It is a texture size.
- Yaw/Pitch/Roll: The are texture angles.
- Color: It is a texture color.
- Constant: If it is false, the texture will be invisible when it rains or snows. If not false, the texture will always be visible.
Edited by sumeshi0216 on Sun, 05/12/2024 - 03:28
How do I remove the light from the sky?
https://imgur.com/a/WlpyOdG
When i turn around one direction the sky is normal, but when I turn around the other way, it is brighter.
How do I select which texture the moon should be
(I have 4 different moons and I want to make different dimensions with them)
how do i call the textures ? just like on the older versions?
if i want a moon and a sun, both with custom textures, do i need 2 procedures (renderSky) or can i set both on same procedure?
To BryAstro:
The colors of sunrise and sunset are defined with the fog color. So you will need to alter the fog color using an event trigger "Compute fog color"
To Hygerian:
The texture of the moon phases need to be 8 textures. So for 4 textures, you will need to line up two each of same textures
To ninjawizard1234:
Textures can be used using a procedure "Set texture". Also, it is possible to use different textures before each of rendering
thats pretty good man, again congratulations for this work, this plugin is awesome