Comments (5)
Yes, the WorldRenderer
as well as some other places (InGameHud
, GameRenderer
) have their own internal tick counters, which get incremented when their repective tick
method is called.
from better-clouds.
Thanks Qendolin, calling WorldRenderer#tick
works!
I've released a new version of Realistic Sleep with Better Clouds compatibility (v1.10.0
).
I appreciate the help. I'll close this issue.
from better-clouds.
u_time
is tied to WorldRenderer#ticks
, ideally if your code works with vanilla clouds it should work with BetterClouds as well unless I have a bug in my code. If it doesn't work I'ld be interested to find out why.
On a different note, just setting u_time
wouldn't be enough. The shader doesn't move the the clouds, it gets the transformation from the CPU. Also new clouds need to be generated on the CPU side. So there are multiple systems that depend on WorldRenderer#ticks
from better-clouds.
Okay, good to know, thank you.
I made a mixin into the WorldRenderer
, and Sodium's CloudRenderer
, since Realistic Sleep doesn't modify game ticks at all, just daytime ticks. This fixed some compatibility issues iirc.
Could look into re-adding modifying game ticks, will have to check if it causes issues.
from better-clouds.
Hi Qendolin, I've spent some more time looking into this. It seems like the WorldRenderer's ticks aren't bound to the world's ticks or I'm doing something wrong.
I tried incrementing the world's time ticks on the server and sending that to all clients, that doesn't seem to have an effect.
Neither on vanilla clouds or Sodium clouds though iirc so I'll have to do some more digging.
from better-clouds.
Related Issues (20)
- Nvidium + Better Clouds flickering skies bug HOT 3
- Clouds turn black after some time | 1.20.1 HOT 1
- No clouds with shaders HOT 3
- mod causes stray stretched out polygons in the sky in negative z direction HOT 1
- Clouds disappear when taking damage. HOT 2
- compat with Astrocraft mod (fabric) HOT 1
- Better Clouds 1.5.x is not compatible with version 1.20.5-1.20.6 HOT 2
- Game crashes as the settings are opened "java.lang.NoSuchFieldError: tabNavigationBar" HOT 1
- game crashes with new iris version when loading into world HOT 1
- Incompatible with YetAnotherConfigLib version 3.4.0 and up HOT 1
- Incompatibility with Fog Looks Good Now (Fabric)
- BetterClouds v1.5.8 crashes with MC1.20.5-6 HOT 1
- isn't launching😭 HOT 2
- Game doesn't launch with Better Clouds HOT 1
- 1.20.6 Compatibility HOT 4
- when will better clouds be available for 1.20.6? HOT 1
- Clouds flickering with Nausea potion effect HOT 1
- Nvidium incompatibility: Clouds flickering with view bobbing HOT 1
- Clouds flickering with view bobbing and a higher than vanilla render distance (>41 chunks) HOT 1
- Crash on start-up HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from better-clouds.