-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply textures #9
Comments
Apply textures ~ IN PROGRESS ~
~ Idea for apply diferent textures: // Now i have these into drawcast function //
mlx_resize_image(img_rays[r], scale, lineH + lineO);
img_rays[r]->instances[0].x = START_PX + r * scale;
img_rays[r]->instances[0].y = (SCR_HEIGHT / 2) - (lineH + lineO) / 2; ~ To change the texture, maybe i will need:
And make them ->instances[0].*enabled // or disabled |
I found a solution. FINALLY!!! ~ See the textured version actually working in "my-work" branch |
Cuando te acercas a la pared, la textura se deforma, siendo mas ancha de lo que realmente es. La textura debería escalarse en vez de deformarse |
No description provided.
The text was updated successfully, but these errors were encountered: