Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/noxhy/cp2-Pack
Browse files Browse the repository at this point in the history
  • Loading branch information
Flooooop committed Oct 10, 2024
2 parents 9e5ff20 + 6fd3e79 commit fa4cffb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/minecraft/shaders/core/rendertype_text.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ void main()
vec2 center = getCenter( Sampler2, id );
center.y /= ScreenSize.y / gui_scale * 1.;

gl_Position.x -= ( gui_scale * 0.5 ) / ScreenSize.x;
gl_Position.y = 0.-center.y-( gui_scale * 0.5 ) / ScreenSize.y;
gl_Position.y += ( gui_scale * 33 ) / ScreenSize.y;

if ( isColor( Color, CROSSHAIR ) ) vertexColor.rgb = vec3( 1., 1., 1. );

Expand Down

0 comments on commit fa4cffb

Please sign in to comment.