Skip to content

Commit

Permalink
Some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devendrn committed Sep 6, 2023
1 parent dd54cd9 commit 1c8455a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Newb X Legacy is a ported version of [newb-shader-mcbe](https://github.com/deven

> Note:
This is an experimental repository, breaking changes are made often.
Also, there is no guarantee of continued development.

## Screenshot

Expand Down
4 changes: 2 additions & 2 deletions include/newb_legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ void nl_wave(inout vec3 worldPos, inout vec3 light, float rainFactor, vec2 uv1,
bool isChain = bPosC.x==0.0625 && y6875;

// fix for non-hanging lanterns waving top part (works only if texPosY is correct)
if (texPosY < 0.3 || is(texPosY, 0.67, 0.69) || is(texPosY, 0.55, 0.6)) {
isLantern = isLantern && !y5625;
if (y5625 && (texPosY < 0.3 || is(texPosY, 0.55, 0.69))) {
isLantern = false;
}

// X,Z axis rotation
Expand Down
2 changes: 1 addition & 1 deletion materials/Actor/src/Actor.vertex.sc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ vec3 lighting(vec3 position, vec4 normal, mat4 world) {
intensity = (0.7+abs(normal.y)*0.3)*(0.9+abs(normal.x)*0.1);
#endif

intensity *= TileLightColor.b*TileLightColor.b*NL_SUN_INTENSITY*1.27;
intensity *= TileLightColor.b*TileLightColor.b*NL_SUN_INTENSITY*1.2;

intensity += OverlayColor.a * 0.35;

Expand Down
Binary file modified pack/pack_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1c8455a

Please sign in to comment.