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

ShaderChunk: Turn alphaTest into a uniform (take 2) #22409

Merged
merged 1 commit into from
Aug 24, 2021
Merged

ShaderChunk: Turn alphaTest into a uniform (take 2) #22409

merged 1 commit into from
Aug 24, 2021

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Aug 24, 2021

Related issues: #19803 (comment) #15654 #5623

Description

I think this has been proposed a few times. Should make programs more reusable.

/cc @donmccurdy @Mugen87 @WestLangley

@mrdoob mrdoob added this to the r132 milestone Aug 24, 2021
@mrdoob mrdoob changed the title ShaderChunk: Turn alphaTest into a uniform ShaderChunk: Turn alphaTest into a uniform (take 2) Aug 24, 2021
@mrdoob mrdoob merged commit b4fc606 into dev Aug 24, 2021
@mrdoob mrdoob deleted the alphatest2 branch August 24, 2021 16:00
@loopmode
Copy link

loopmode commented Aug 27, 2021

FYI the change with the private field breaks our build, Module parse failed: Unexpected character '#' (7690:1) due to > #alphaTest = 0;.

It's kind of complicated to adjust our build setup, and three is a sub-dependency.
Downgrading to 0.131.0 via "resolutions" field for now.

@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 27, 2021

Please follow #22437 for more information.

@loopmode
Copy link

Thank you @Mugen87

0b5vr added a commit to pixiv/three-vrm that referenced this pull request Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants