-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Extrude material no longer an option in three.js r72 #7332
Comments
It appears the changes to |
Reverted/Fixed. http://jsfiddle.net/ma3wtuLx/7/ |
@mrdoob many thanks! |
😊 |
Thanks for the quick response! And fix! |
i don't understand how to use a a diferent material for the extrudeMaterial this doesn't work anymore http://jsfiddle.net/ma3wtuLx/7/ |
@SenninSensei It seems to work: http://jsfiddle.net/ma3wtuLx/9/. r.74dev |
It seems these are not working though.
|
Yes. It appears to be hardwired, now. The first material is for the front, and the second material is for the side. |
Up until r71, TextGeometry (itself based on ExtrudeGeometry) had the option to select different materials for the front and the extruded faces. The code below would be able to produce:
I found this commit in the project's github where the option to set the material and extrudeMaterial was removed, with no apparent alternative way to achieve the same result. Now in r72 all the faces have the same color (the one from materialFront), like this:
Samples:
JSFiddle with r72 - side color is missing
JSFiddle with r71 - works ok
The text was updated successfully, but these errors were encountered: