Closed wumaolinmaoan closed 2 months ago
The changes involve modifications to the GLMaterialState
and GLMaterial
classes in the WebGL effects package. The depthTest
and depthMask
properties in GLMaterialState
are now initialized to true
, enhancing depth-related rendering. Additionally, the GLMaterial
class has been refactored to streamline the initialization of material properties, removing an intermediate object and directly assigning values based on input data.
Files | Change Summary |
---|---|
packages/effects-webgl/src/gl-material-state.ts packages/effects-webgl/src/gl-material.ts |
Initialization of depthTest and depthMask properties changed from false to true . Refactored property assignments in GLMaterial to eliminate the propertiesData object, directly assigning values to instance variables. |
🐇 In the world of WebGL, we play,
With depth and blending, bright as day.
Properties now shine, clear and bright,
Rendering magic, a wondrous sight!
Hopping through code, we cheer and sing,
For every change, a joyful spring! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes