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

useGaussianBlurのdprがリアクティブに見える #153

Open
takuma-hmng8 opened this issue Dec 19, 2024 · 0 comments
Open

useGaussianBlurのdprがリアクティブに見える #153

takuma-hmng8 opened this issue Dec 19, 2024 · 0 comments
Milestone

Comments

@takuma-hmng8
Copy link
Member

  • useGaussianBlurのdprがリアクティブに見える
  • FBOのsetSizeは fboAutoSetSize をtrueにしないとされないようにしてるから、直感的じゃない
  • これ、実際にFBOがsetSizeされてるんじゃなくて、updateResolutionにtextureのaspectRatioの処理が含まれてることで起こってる事象だと思う
  • 解決案としては、そもそも useFxScene で実行してる updateResolutionを、dprの変更をトリガーしないようにすればいいかも
  • てか、resolutionにdprいらないので、useResolution でdprを渡さなければいいかな

Uploading 画面収録 2024-12-19 14.58.49.mov…

@takuma-hmng8 takuma-hmng8 added this to the v2 milestone Dec 19, 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

No branches or pull requests

1 participant