Skip to content
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

Luma textures are broken with gl_vbo #1768

Closed
a1batross opened this issue Aug 8, 2024 · 3 comments
Closed

Luma textures are broken with gl_vbo #1768

a1batross opened this issue Aug 8, 2024 · 3 comments
Labels
bug Something isn't working VBO

Comments

@a1batross
Copy link
Member

Without VBO:
start_shot0000

With VBO:
start_shot0001

@a1batross a1batross added VBO Quake (games and mods) Related to everything that uses Quake I engine bug Something isn't working labels Aug 8, 2024
@a1batross
Copy link
Member Author

This feature is also used in GoldSrc.
kz-endo_slide_svn_muffinslides.bsp.gz

A surface using luma texture is located right at spawn:
kz-endo_slide_svn_muffinslides_shot0001
kz-endo_slide_svn_muffinslides_shot0000

@mittorn what do you think could be done here? There is a logic for dt_texturenum, I wonder if it could be reused for luma. I tried to do this actually, binding luma texture to third TMU with GL_ADD combiner in place of detail texture, and detail texture moved to fourth TMU.

@a1batross
Copy link
Member Author

(cont) ... but it breaks lighting on studio models somehow.

@a1batross a1batross removed the Quake (games and mods) Related to everything that uses Quake I engine label Oct 28, 2024
@a1batross a1batross changed the title Quake luma textures are broken with gl_vbo Luma textures are broken with gl_vbo Oct 28, 2024
@a1batross
Copy link
Member Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VBO
Projects
None yet
Development

No branches or pull requests

1 participant