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

matc: remove access to public functions that should be undefined #8308

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

pixelflinger
Copy link
Collaborator

When tangents are not supplied in a material, all "normals" related public methods become undefined; remove access to them so we get compile time errors instead of garbage values in the shader.

When tangents are not supplied in a material, all "normals" related
public methods become undefined; remove access to them so we get 
compile time errors instead of garbage values in the shader.
@pixelflinger pixelflinger added the internal Issue/PR does not affect clients label Dec 10, 2024
@pixelflinger pixelflinger merged commit ba6bee1 into main Dec 11, 2024
13 checks passed
@pixelflinger pixelflinger deleted the ma/material-tangeants branch December 11, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Issue/PR does not affect clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants