feat(WebGPU): add polydata backface material and local culling#3475
feat(WebGPU): add polydata backface material and local culling#3475finetjul merged 1 commit intoKitware:masterfrom
Conversation
5e0462e to
660fe44
Compare
Add backface material support to the WebGPU polydata mapper.
660fe44 to
8c91272
Compare
|
@finetjul would it be possible to merge the approved PRs around CellArrayMapper so I can continue working on the other tasks ? or would you prefer to wait for an additional approval ? I just want to avoid potential conflicts and issues with dependent PRs. |
| ' let PBR = mapperUBO.DiffuseIntensity * kD * diffuse + kS * specular;', | ||
| ' computedColor = vec4<f32>(PBR + emission, mapperUBO.Opacity);', | ||
| ' let specularMaterial = specularColor.rgb * specularColor.a;', | ||
| ' let PBR = diffuseIntensity * kD * diffuse + kS * specularIntensity * specular * specularMaterial;', |
There was a problem hiding this comment.
@sankhesh do you confirm adding specularMaterial is correct here ?
I can merge this one, for the other ones, I would prefer a WebGPU savvy person to review them. |
|
🎉 This PR is included in version 35.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Context
Add backface material support to the WebGPU polydata mapper.
Results
Changes
PR and Code Checklist
npm run reformatto have correctly formatted codeTesting