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

Material: Remove deprecated FlatShading & SmoothShading constants. #24424

Merged
merged 2 commits into from
Aug 4, 2022

Conversation

gero3
Copy link
Contributor

@gero3 gero3 commented Aug 2, 2022

Related issue: #24418

Description

This PR removes all uses of the FlatShading & SmoothShading constants. these constants are deprecated since R87 but are not in the migration wiki. This commit removes the use of the constants by adding the property flatshading to the materials.

@Mugen87 Mugen87 added this to the r144 milestone Aug 3, 2022
@Mugen87 Mugen87 changed the title Remove FlatShading & SmoothShading constants Material: Remove deprecated FlatShading & SmoothShading constants. Aug 4, 2022
@Mugen87 Mugen87 merged commit 1564abb into mrdoob:dev Aug 4, 2022
@mrdoob
Copy link
Owner

mrdoob commented Aug 4, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…rdoob#24424)

* Remove FlatShading & SmoothShading constants

* Remove FlatShading & SmoothShading constants

Co-authored-by: decuyper <[email protected]>
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
…rdoob#24424)

* Remove FlatShading & SmoothShading constants

* Remove FlatShading & SmoothShading constants

Co-authored-by: decuyper <[email protected]>
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