Conversation
- New sky model - Custom sun/moon rotation - Rewrite parts of code
|
🔥🔥🔥 |
|
Can someone test sun moon rotation for windows? |
|
ok |
|
Sun/moon rotation in Windows | Minecraft - 1.21.114 |
|
Batman saves the day 🗣️🔥🔥 |
- Add sun/moon glow to sky reflection - Refactor some code
- Follow sun direction now - Enable by default now
|
Can someone test simple, rounded, and realistic clouds movement on windows? It should change with camera position. |
doing a little bit later @devendrn |
|
Clouds 3: Clouds 2: Clouds 1: |
Batman saves the day again |
Windows User |
|
@devendrn
default Clouds was successful |
|
@faizul726 try again. I made a typo previously. |
|
@devendrn there's an animated artifact on the sun see bandicam.2025-10-28.00-36-38-556.mp4bandicam.2025-10-28.00-38-16-128.mp4also, the sun side during rain is a little too bright |
|
@faizul726 when you are free later, check if that sun artifact happens with fully transparent sun texture. |
It's doesn't happen to me Also Fazul, send that transparent sun.png and let me try |
|
@faizul726 does this artifact happen when you set # src/newb/functions/sky.h
- float mg8 = (g8.x+g8.y)*mask*(1.0-0.9*env.rainFactor);
+ float mg8 = 0.0; |
|
@devendrn it's 12 am here right now. i will try to test in morning. also i am updating minecraft to v1.21.120 (which broke materials again) so you may want to update the material source once again. |
still happens @devendrn
|
|
@faizul726 are you sure you applied the change properly? Try again. If it still shows up, try with this change instead: # src/newb/functions/sky.h
- vec2 g = 0.5 - 0.5*vec2(dot(env.sunDir, viewDir), dot(env.moonDir, viewDir));
+ vec2 g = vec2_splat(0.0); |
Can do |
|
this one looks fine and performance friendly, untested in-game so I don't know if the repetition is noticeable |
This issue is fixed now for MBL2, Draco and MB Loader. |
|
Also I assume the release of v16.50 is unintentional? |
@Jesusmendozaxxx What is the bug exactly here? What config options did you change exactly? |
|
@Jesusmendozaxxx I have created discussion page for these things. You can ask for support there. #61 |
|
@devendrn I am keeping a list of commits that worked on specific versions of Minecraft. (As 1.21.100 - 1.21.130 went pretty rough in context of breaking existing shaders) So, I want to know, do you remember updating lightmap/code |
|
Also, some (perhaps many) people don't like the new pinkish sky/sun. You may want to reconsider looks of those. |
- Also change the target src-materials download file name
- Warn for modules version mismatch - Check for shaderc or material src update
- Fix unnecessary new line causing errors in __main__.py - Fix windows os detection - Fix missing return tuple in Windows and Darwin
|
This PR is still mostly unfinished but its getting cluttered with many unrelated changes, so I'm merging this to main. Probably will make separate PRs for each sub feature change. |








All changes made to this branch will be for testing, and will include redundant code and comments.
Changes in mind for this PR:
Please report any issue with these changes. Feedback will really help.
New Sky
Features
Known issues:
Moon abtruptly changing position right after midnight (FIXED)Sun/Moon flickering near sunrise/sunset (FIXED)Dark blob artifact at sun/moon center in some devices (FIXED)Updated Lighting
Features
Known issues:
Update clouds
Features
Other changes
Features