-
Notifications
You must be signed in to change notification settings - Fork 8
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
Two-sided Surface extension #110
Comments
After today's WG discussion, this is what I would propose:
|
@johguenther There was reasonable consensus on today's call with the formulation of the extension listed above. Unless you have any other dissenting opinions, we can change the status to |
I would really like to not intertwine the extension "backface culling" with the feature to have two different (solid) materials front and back. Just focusing on the latter, that request can be solved by e.g. keeping the
There is no defined direction for shadow rays (from light to surface or vice versa). |
Inspired by this: NVIDIA/VisRTX#63
To accomodate face culling an extension could add additional material parameters
materialFront
,materialBack
for surface objects. They would override the stockmaterial
parameter for that side of the surface.Back/front face culling would then be achieved by setting a fully transparent material on that side. Additionally the extension could specify that setting no material is valid and define the behavior to transparency.
The text was updated successfully, but these errors were encountered: