mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-30 04:09:12 +00:00
2.2.3.1-hotfix
This commit is contained in:
@@ -232,7 +232,7 @@ public class ResourceManager {
|
||||
" }\n" +
|
||||
" vertexColor = ((.6 + .6 * cos(6. * (gl_Position.x + GameTime * 1000.) + vec4(0, 23, 21, 1))) + vec4(0., 0., 0., 1.)) * texelFetch(Sampler2, UV2 / 16, 0);\n" +
|
||||
" gl_Position = ProjMat * ModelViewMat * vertex;\n" +
|
||||
" }")
|
||||
" } else ")
|
||||
|
||||
);
|
||||
} catch (IOException e) {
|
||||
|
||||
@@ -22,8 +22,7 @@ void main(){
|
||||
vec4 vertex = vec4(Position, 1.0);
|
||||
vertexDistance = fog_distance(ModelViewMat, IViewRotMat * Position, FogShape);
|
||||
texCoord0 = UV0;
|
||||
{IA}
|
||||
if (Color.xyz == vec3(255., 254., 253.) / 255.) {
|
||||
{IA}if (Color.xyz == vec3(255., 254., 253.) / 255.) {
|
||||
vertexColor = Color*texelFetch(Sampler2, UV2 / 16, 0);
|
||||
vertex.y+= 1;
|
||||
vertex.x+= 1;
|
||||
|
||||
Reference in New Issue
Block a user