Skip to content

Repeating textures #4267

Answered by Peter0x44
arcanis asked this question in Q&A
Aug 19, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arcanis
Comment options

Answer selected by arcanis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants