playcanvas / playcanvas/engine
Broken environment reflections when using render to texture
Open
@mvaligursky is already working on this.
Since Dec 9, 2024.
area: graphics
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
Description
When rendering a model with a secondary camera into a renderTarget, the reflections are broken.
I was able to reproduce this using a totally clean checkout against latest main and v2.1.0. Weirdly enough the same code running on the examples website seems to work???
Steps to Reproduce
- load the examples app locally
- load up the render to texture example
- load a model with shiny parts
and add ContainerHandler + Basis
4. See that the model in the render to textures is super shiny and totally broken
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.