[Tutorial] How to render texture like sun and moon [World Renderer - Forge 1.19.4 / 1.20.1]

Started by sumeshi0216 on

Topic category: User side tutorials

Last seen on 12:36, 1. May 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Tutorial] How to render texture like sun and moon [World Renderer - Forge 1.19.4 / 1.20.1]
Mon, 01/15/2024 - 14:18 (edited)

These procedures allow you to render textures. See this guide about how to set colors and textures

Render texture:

  • "Size": This is sizes of a texture to render
  • "Yaw/Pitch/Roll": These are angles of a texture from the player's point of view
  • "Color": This is a color of a texture
  • "Constant": It defines whether a texture does not attenuate at raining. If it is true, A texture will be always displayed

Render sun:

  • "Size": This is sizes of a sun to render
  • "Angles": This is a pitch of a sun It is not possible to alter yaw and roll values
  • "Color": This is a color of a sun
  • "Constant": It defines whether a sun does not attenuate at raining. If it is true, A sun will be always displayed

Render moon:

  • "Size": This is sizes of a moon to render
  • "Angles": This is a pitch of a moon. It is not possible to alter yaw and roll values
  • "Color": This is a color of a moon
  • "Phase": It defines whether there are moon phases. See below for details
  • "Constant": It defines whether a moon does not attenuate at raining. If it is true, A moon will be always displayed

Using these procedures, you can easily render a sun or moon

If you want the vanilla sun and moon, you can also use procedure templates


Moon phases:

  • Make sure the each images aspect ratio is 1:1
  • The order is as shown numbers in this image

Edited by sumeshi0216 on Mon, 01/15/2024 - 14:18
Last seen on 06:57, 2. May 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I remove the light…
Thu, 01/11/2024 - 10:45

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.

Last seen on 01:47, 1. May 2024
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I select which…
Thu, 01/11/2024 - 23:00

How do I select which texture the moon should be
(I have 4 different moons and I want to make different dimensions with them)

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i call the textures ?…
Fri, 01/12/2024 - 04:13

how do i call the textures ? just like on the older versions?

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if i want a moon and a sun,…
Fri, 01/12/2024 - 04:44

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?

Last seen on 12:36, 1. May 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To BryAstro: The colors of…
Sat, 01/13/2024 - 02:34

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"

Last seen on 12:36, 1. May 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To Hygerian: The texture of…
Sat, 01/13/2024 - 02:41

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

Last seen on 12:36, 1. May 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To ninjawizard1234: Textures…
Sat, 01/13/2024 - 02:51

To ninjawizard1234:

Textures can be used using a procedure "Set texture". Also, it is possible to use different textures before each of rendering

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thats pretty good man, again…
Sat, 01/13/2024 - 05:23

thats pretty good man, again congratulations for this work, this plugin is awesome