We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7f040 commit 12140cdCopy full SHA for 12140cd
1 file changed
examples/shaders/shaders_texture_tiling.c
@@ -56,6 +56,7 @@ int main(void)
56
// Set the texture tiling using a shader
57
float tiling[2] = { 3.0f, 3.0f };
58
Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/tiling.fs", GLSL_VERSION));
59
+ SetTextureWrap(texture, TEXTURE_WRAP_REPEAT);
60
SetShaderValue(shader, GetShaderLocation(shader, "tiling"), tiling, SHADER_UNIFORM_VEC2);
61
model.materials[0].shader = shader;
62
0 commit comments