-
Notifications
You must be signed in to change notification settings - Fork 358
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
Updates to double-sided materials for 1.39 #1866
Updates to double-sided materials for 1.39 #1866
Conversation
@@ -221,6 +221,7 @@ | |||
<input name="bsdf" type="BSDF" value="" doc="Distribution function for surface scattering." /> | |||
<input name="edf" type="EDF" value="" doc="Distribution function for surface emission." /> | |||
<input name="opacity" type="float" value="1.0" doc="Surface cutout opacity" /> | |||
<input name="thin_walled" type="boolean" value="false" uniform="true" doc="Option to make the surface thin-walled." /> | |||
<output name="out" type="surfaceshader" /> | |||
</nodedef> | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the old deprecated node thin_surface
still remains below, and we can remove this in another PR.
I'm not sure if we need to add code for upgrading from thin_surface
to surface
with thin_walled enabled? The thin_surface node was never implemented in any backends, except maybe MDL, so I'm not sure if this was ever used by anyone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good question, and my own sense is that the deprecated thin_surface
node has not yet been used in real-world assets, because it's only been supported on a single target. So I'd say that it's likely safe to remove this node without an upgrade path in a future change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, thanks @niklasharrysson!
44bf535
into
AcademySoftwareFoundation:main
This change list updates the library files so they match the definitions for
surfacematerial
andsurface
nodes in v1.39.