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

Input output target refactoring #45

Merged
merged 5 commits into from
Feb 22, 2024

Conversation

martinlaxenaire
Copy link
Owner

  • Refactored the render target process and rendering pipeline
    • deprecated renderTarget property and setRenderTarget() method, replaced by outputTarget and setOutputTarget()
    • added inputTarget prop and setInputTarget() method to ShaderPass class - 648af11, 8e39c82, 190408d
  • Added a qualityRatio property to RenderTexture, RenderPass and RenderTarget classes (allows to render to smaller textures to improve performance for heavy postprocessing pass). - 8e39c82
  • Updated es modules build to allow tree shaking - 8e39c82

- added render textures quality ratio
- updated es build to allow tree shaking
- copy shader pass output to render texture only if needed
@martinlaxenaire martinlaxenaire merged commit d38877e into develop Feb 22, 2024
@martinlaxenaire martinlaxenaire deleted the input-output-target-refactoring branch February 22, 2024 15:06
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 this pull request may close these issues.

1 participant