diff --git a/PCK-Studio/Resources/shader/skinFragmentShader.glsl b/PCK-Studio/Resources/shader/skinFragmentShader.glsl index cfa69e6a..81c18ca5 100644 --- a/PCK-Studio/Resources/shader/skinFragmentShader.glsl +++ b/PCK-Studio/Resources/shader/skinFragmentShader.glsl @@ -4,10 +4,10 @@ layout(location = 0) out vec4 color; uniform sampler2D u_Texture; -in vec2 o_TexScale; +in vec2 o_TillingFactor; in vec2 o_TexCoord; void main() { - color = texture(u_Texture, o_TexCoord * o_TexScale); + color = texture(u_Texture, o_TexCoord * o_TillingFactor); }; \ No newline at end of file diff --git a/PCK-Studio/Resources/shader/skinGeometryShader.glsl b/PCK-Studio/Resources/shader/skinGeometryShader.glsl index 2423ce57..944aaee0 100644 --- a/PCK-Studio/Resources/shader/skinGeometryShader.glsl +++ b/PCK-Studio/Resources/shader/skinGeometryShader.glsl @@ -6,7 +6,7 @@ layout (triangle_strip, max_vertices=3) out; uniform vec2 u_TexSize; out vec2 o_TexCoord; -out vec2 o_TexScale; +out vec2 o_TillingFactor; in geometryData { @@ -41,7 +41,7 @@ void FixUV() void main() { - o_TexScale = 1.0 / u_TexSize; + o_TillingFactor = 1.0 / u_TexSize; FixUV(); EndPrimitive(); }; \ No newline at end of file