Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSL Reflector does not clear when Renderer.autoClear = false, looking for custom instructions before and after nodes render #30197

Closed
Samsy opened this issue Dec 24, 2024 · 0 comments · Fixed by #30199
Milestone

Comments

@Samsy
Copy link
Contributor

Samsy commented Dec 24, 2024

Description

The new TSL reflector obviously does not clear target when renderer.autoclear = false

Can not find a way to specify / add custom instructions t:

  • before the node render happens ( to call a clear of the renderer once the target is set )
  • after the node render happens ( like blurring the output target of the reflector node )
Screenshot 2024-12-24 at 12 15 10 Screenshot 2024-12-24 at 12 15 18

Live example

Toggle :

const USE_AUTO_CLEAR = false to true

https://jsfiddle.net/js62nmu5/63/

@Samsy Samsy changed the title TSL Reflector does not clear when Renderer.autoClear = false TSL Reflector ( obivously ) does not clear when Renderer.autoClear = false, custom instructions before nodes render Dec 24, 2024
@Samsy Samsy changed the title TSL Reflector ( obivously ) does not clear when Renderer.autoClear = false, custom instructions before nodes render TSL Reflector ( obviously ) does not clear when Renderer.autoClear = false, custom instructions before nodes render Dec 24, 2024
@Samsy Samsy changed the title TSL Reflector ( obviously ) does not clear when Renderer.autoClear = false, custom instructions before nodes render TSL Reflector ( obviously ) does not clear when Renderer.autoClear = false, looking for custom instructions before and after nodes render Dec 24, 2024
@sunag sunag added this to the r172 milestone Dec 24, 2024
@mrdoob mrdoob changed the title TSL Reflector ( obviously ) does not clear when Renderer.autoClear = false, looking for custom instructions before and after nodes render TSL Reflector does not clear when Renderer.autoClear = false, looking for custom instructions before and after nodes render Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants