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

tr_shade: do not use reflective specular code on PBR material #1101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

illwieckz
Copy link
Member

It is not implemented yet and the shader permutation is disabled.

It now makes possible to run buildcubemaps command even when there are PBR materials in the scene, to not crash while attempting to render those PBR materials with a shader permutation that doesn't exist.

To test the reflective specular code, one should:

  • load a map with specular maps
  • have r_smp disabled (there are some crashes when generating cubemaps otherwise)
  • type /buildcubemaps in console

The rendering is assumed to be wrong (it blinks to black), but the buildcubemaps command runs.

It is not implemented yet and the shader permutation is disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant