xml3d / xml3d.js

The WebGL/JS implementation of XML3D
Other
75 stars 25 forks source link

Support for CSS opacity property on elements #157

Closed csvurt closed 8 years ago

csvurt commented 8 years ago

We'd like to support setting the opacity of scene objects (group, mesh, model) through the CSS opacity property. The behavior of the property should follow the same stacking rules as for normal HTML elements.

csvurt commented 8 years ago

This feature will be delayed until browsers support custom CSS properties and possibly provide some kind of CSS change event system. Tracking the right opacity values and blending modes for a hierarchy of objects is a nightmare with the current toolset.