This plugin allows you to render objects on the sky and world
Event triggers
World Renderer can render objects using event triggers and procedures.
- "Compute FOV"
- "Compute camera angles"
- "Compute fog color"
- "Compute light color"
- "Render clouds"
- "Render fog"
- "Render overlays"
- "Render shapes"
- "Render sky"
- "Render weather"
- "Render world"
- "Set weather particles and sounds"
- "Set up dimensions"
How to use
Changelog
v1.8.3
You need to set a render target in order to render overlays
Changed the rendering system for shape overlays
Added the procedure "Set sky light color"
Added the procedure "Set block light color"
Removed the procedure "Multiply sky light color"
Removed the procedure "Multiply block light color"
Removed the procedure "Set light pixel"
Some fixes and improvements
Fixed some bugs
v1.8.2
The event trigger "Graphics - Render models" was renamed "Graphics - Render world"
The procedure list "Model" was renamed "World"
Added a procedure to render a line, which can be used for the event trigger "Graphics - Render world"
Some fixes and improvements
Fixed some bugs
Information
This plugin supports Forge 1.19.2 / 1.19.4 / 1.20.1 / NeoForge 1.20.4 / 1.20.6
Source code repository:
World Renderer - https://github.com/Sumeshi2/World-Renderer
Custom Sky Plugin - https://github.com/Sumeshi2/Custom-Sky-Plugin
Comments
Hello !
I'm facing this issue with the add-on : when rendering clouds, whenever I pick up an item, the clouds will flash-render above any block that might hide them from the player's FOV, and show the "walls" between each cloud's "block", for about half a second. This is extremely jarring, especially for my mod in which a custom dimension puts clouds far below the ground, how can we fix this ASAP ?
Getting an error on version 2023.4,
"error: cannot find symbol
renderMoon(40, (float) (world.getTimeOfDay(Minecraft.getInstance().getPartialTick()) * 360.0F), (int) (255 << 24 | 255 << 16 | 255 << 8 | 255), false, false);"
The error is pointing to renderMoon, and this seems to happen with anything else i can render, was happening with renderSun as well.
Everything now works fine he posted a new version on his git. But can anyone tell how to make it in his plugin so that the rendered objects always show on screen instead of disappearing after certain distance. I am making a space mod where I am rendering each planet as a cube but it's not fun when you can't see all planets together and have to go near them for them to show. Plz add this feature to always render on screen