O'Reilly logo

Three.js Essentials by Jos Dirksen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we focused on the features of CSS3DRenderer. As you've seen, there are lots of interesting things you can do with CSS3DRenderer that will not only look great, but also deliver good performance on a wide range of mobile and desktop devices.

When you work with CSS3DRenderer, you do have to remember that this renderer doesn't support the wide range of materials, geometries, and objects that the other Three.js renderers support. The only objects that CSS3DRenderer supports are CSS3DObject and CSS3DSprite. With CSS3DRenderer, you can render each HTML element. All you have to do is wrap it in a CSS3DObject or CSS3DSprite.

To render geometries with CSS3DRenderer, you can't use the geometries that Three.js uses out of the box. What ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required