Repeating textures
#4267
|
Is it expected that |
Answered by
Peter0x44
Aug 19, 2024
Replies: 1 comment 1 reply
|
@arcanis The texture repeat (GL_REPEAT) is the default, afaik. However, not all OpenGL versions support it, specifically I know of OpenGL ES2. For web, to have this behavior, you need to build raylib for OpenGL ES3 and link with If you want proof it works: I don't know if web is relevant, but you never specified platform or OpenGL version... |
1 reply
Answer selected by
arcanis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@arcanis The texture repeat (GL_REPEAT) is the default, afaik. However, not all OpenGL versions support it, specifically I know of OpenGL ES2. For web, to have this behavior, you need to build raylib for OpenGL ES3 and link with
-sFULL_ES3.If you want proof it works:
https://tradam.itch.io/raylib-drawtexturepro-interactive-demo
I don't know if web is relevant, but you never specified platform or OpenGL version...
Need more info to tell you anything concrete.