Cycles : Add opacityMode support for convertUSDShaders#6858
Cycles : Add opacityMode support for convertUSDShaders#6858boberfly wants to merge 1 commit intoGafferHQ:1.6_maintenancefrom
Conversation
067ae4b to
0ec1e31
Compare
7dac03f to
6772d4a
Compare
|
Murray pointed out that the normals stuff requires Cycles 4.5, which we don't use for Gaffer 1.6. Do you want to retarget this all to |
Oh right for some reason I was thinking it was Cycles 4.5 in Gaffer 1.6 - yep that sounds like a good plan, the opacity stuff was in a separate commit I can do the normals one just for |
6772d4a to
bec2f1e
Compare
Generally describe what this PR will do, and why it is needed
USDPreviewSurfacehas anopacityModehttps://openusd.org/release/spec_usdpreviewsurface.html which states thattransparentacts more like a refractive surface eg. specular isn't affected and is described as "glass". Thepresencemode acts like it does normally with changingalphaon theprincipled_bsdf.opacityThresholdis being used, the cut-out behaviour also works fortransparentmode. This is a little vague, I'm going by their description of the spec here but might need another pair of eyes...Related issues
Dependencies
Breaking changes
transparentis considered default, assets which rely on the old behaviour will explicitly need to setopacityModetopresence.Checklist