Tresjs / cientos

Collection of useful helpers and fully functional, ready-made abstractions for TresJS
https://cientos.tresjs.org/
MIT License
278 stars 40 forks source link

Reflector Material #371

Closed andretchen0 closed 5 months ago

andretchen0 commented 6 months ago

Description

As a developer using TresJS, it'd be nice to be able to easily add reflections. Especially for floors, reflections show off user models nicely.

Three's and Cientos' Reflector goes part way, but doesn't have a few features, like optional blurring.

Suggested solution

Equivalent of Drei/R3F's MeshReflectorMaterial

Alternative

No response

Additional context

No response

Validations

andretchen0 commented 5 months ago

Update: there is an undocumented MeshReflectionMaterial in Cientos. But many of its features don't work. A PR with a rewrite/docs was submitted for review: fix(MeshReflectionMaterial)!: add features/docs, reorganize #377

Closing here to avoid duplication.