LOD Clouds render always

This bug report is for the in-dev lod cloud rendering. Currently the clouds always render, even if the vanilla rendering is skipped. This causes issues with shaders, and also other mods that disable or mess with vanilla clouds (like mine, better-clouds). Mostly that clouds appear twice. A solution would be to inject into the LevelRenderer#renderClouds methods and set a flag that is has been called in the current frame. Not sure if thats the best solution tho.
17 Replies
Wendelin
WendelinOP5mo ago
Using dh nightly 13363ff3 (1.21)
Double clouds with Better Clouds
Double clouds with (patched) iris & bsl shaders
BackSun
BackSun5mo ago
If you want to disable DH cloud rendering please use the API to disable them via the config. DhApi.Delayed.configs.graphics().genericRendering().cloudRenderingEnabled().setValue(false); (Note you will need the latest nightly build that I just pushed 30 seconds ago)
Wendelin
WendelinOP5mo ago
Thanks, but I think that this feature will cause quite a lot of perceived (because you can obviously just disable them) incompatibilities with other mods I've been thinking more about this. Settings the cloudRenderingEnabled value to false might not be in the interest of the user if it changes the config permanently. But it's not a big issue.
BackSun
BackSun5mo ago
The method I shared doesn’t modify the config file or UI. Using the API to modify DH’s config only changes the value in memory. (The Java docs have more info)
Wendelin
WendelinOP5mo ago
Oh, okay. Btw will the upcoming api version be 2.1.3 or 3.0.0 ?
BackSun
BackSun5mo ago
3.0.0, there’s been several breaking changes.
Wendelin
WendelinOP5mo ago
By the way, thank you for being so active and looking into my issues I've noticed two issues with the current build: Setting this to false does also change it on the settings page. And also it cannot manually be enabled again (by pressoing the button in the settings) unless the game is restarted.
BackSun
BackSun5mo ago
Ah my mistake, it does update the UI. Although the fact the user can't change it via the UI is intentional. Since you've overridden it via the API you have control over what the user has set.
Wendelin
WendelinOP5mo ago
Oh ok, maybe you should let the user know about the via the tooltip. Something like "Another mod has disabled this feature", idk
Andreas shrieks of confusion
Exactly which version of DH did this change in? I noticed upon updating from 2.1.2-a-1.20.4 to 2.2.1-a-dev that vanilla clouds are rendered quite high in the skies. Is this:
- Cloud/Beacon rendering - This broke previous Iris compatability, please be patient while waiting for Iris to update.
?
Miki_P98
Miki_P983mo ago
2.1.3a a.k.a. 2.2
Andreas shrieks of confusion
Thanks. I'll try to just ignore them and hope they'll go away after a few mod updates.
Puhpine
Puhpine3mo ago
You can disable them somewhere in dh's settings
Andreas shrieks of confusion
I can? Doesn't Iris have to do it with the API?
Puhpine
Puhpine3mo ago
Don't think so. It's under graphics, generic rendering or something like that
Andreas shrieks of confusion
Ah. Thanks! Way better now.
Puhpine
Puhpine3mo ago
👍
Want results from more Discord servers?
Add your server