feat: 修改天顶渲染效果#3
Merged
Merged
Conversation
- Unify zenith purple-pink color theme across sky rift, beacon beam and screen flash. - Replace hard gaze cuts with fast saccade transitions in shader. - Add EyeOpen uniform and eye-opening animation with slight overshoot. - Sync screen flash tint with sky rift beam color.
- Reduce flash max alpha and make it decay quickly. - Start sky rift eye-opening animation after flash ends to avoid covering it.
- Keep screen shake offset but drop the black translucent fill that masked the sky rift opening.
- Draw outer glow + inner core beam for layered look. - Add time-based radius pulse synced with sky rift rhythm. - Boost beam radius during formation animation for an energy burst effect.
- Add periodic eyelid closure after the eye is fully open. - Blink briefly scales vertical/horizontal UVs to simulate an eyelid shutting.
- Comment ZenithMatrixRender, ClientForgeRegister, zenith.fsh and zenith.json. - Explain timing, color theme, eye-open/blink/saccade logic and shader uniforms.
- renderBeaconBeam expects a long for gameTime; use level.getGameTime() there. - Keep float time for radius pulse calculations.
- Minecraft's shader JSON loader does not tolerate comments; strip them to avoid MalformedJsonException.
- Add zenith_beam vertex/fragment/json shaders. - Beam shader generates spiral energy, noise flow, core/mid/edge glow and height fade. - Replace BeaconRenderer with custom POSITION_TEX cylinder drawn through the shader. - Register new shader in ClientProxy; pass Time/BeamColor/BeamAlpha uniforms.
- Rewrite zenith_beam.fsh: remove breathing jitter, use slow spiral tear, upward energy streams, edge tear glow and stable core. - Java side: remove radius pulse, slow rotation to 0.005 rad/tick.
- Boost shader intensity: brighter core, stronger mid glow, added arc discharges. - Mix white-hot core with saturated BeamColor and pink-white tear highlights. - Increase beam radius to 0.45 and alpha to 0.95 for a more solid energy column.
- Remove billboard yaw and model-space rotation so the beam stays fixed. - Boost core/mid intensity and saturation; core region is now fully opaque. - Set BeamAlpha to 1.0 and increase alpha clamping for an solid energy column.
- Increase BEAM_SIDES to 48 and radius to 0.65 so the cylinder stays solid from afar. - Cap peak intensity to avoid near-white blowout. - Clamp alpha near 1.0 across the whole column with only slight edge fade.
- Slow radial falloff (core exp(-6r^2), mid exp(-1.8r^2), outer exp(-0.6r^2)) so the whole column cross-section is bright. - Boost BeamColor * 1.7 and cap intensity at 1.4 to keep saturated purple. - Tear glow moved outward so the cylinder shell is luminous.
- Redesign beam shader around a uniform glowing tube (baseGlow 0.9) with a small core boost and detail textures, so outside and inside look bright. - Reduce radius to 0.4 to keep the column tight and luminous. - Keep alpha near 1.0 across the whole cross-section.
- Add RenderSystem.enableDepthTest()/depthFunc(GL_LEQUAL) before drawing. - Disable depth test again in cleanup to match prior default assumptions.
- Lower baseGlow to 0.55 and boost detail contrast (spiral, streams, arcs). - Mix detailColor into the beam so textures are visible as color variation. - Keep alpha near 1.0 and depth-test enabled.
…stream/arc details
- Remove naturalBlink cycle and eyelid clipping masks. - Remove pupil micro-tremor tied to blinking. - Revert eye open/close to simple UV scale; no more upper/lower lid close-then-open effect. - Keep formation animation EyeOpen uniform untouched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.