mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
fix cloud animation degrading after around 1000 days. fix tiny issue on emissives and block breaking effect
This commit is contained in:
@ -54,7 +54,7 @@ float rainCloudwetness = rainStrength;
|
||||
// float cloud_movement = abs((12000 - worldTime) * Cloud_Speed ) * 0.05;
|
||||
// float cloud_movement = (worldTime / 24.0) * Cloud_Speed;
|
||||
uniform int worldDay;
|
||||
float cloud_movement = (worldTime + worldDay*24000.0) / 24.0 * Cloud_Speed;
|
||||
float cloud_movement = (worldTime + mod(worldDay,100)*24000.0) / 24.0 * Cloud_Speed;
|
||||
|
||||
//3D noise from 2d texture
|
||||
float densityAtPos(in vec3 pos){
|
||||
|
Reference in New Issue
Block a user