pmndrs / pmndrs/react-postprocessing
Bloom Filter breaking Scene in Chrome - Cannot read properties of null (reading 'alpha')
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 1.4k
- フォーク
- 134
- 平均マージ
- 4分
- マージ済み PR(30日)
- 4
説明
Problem
I'm building a website with Typescript Vite React, trying to use the bloom filter in a scene, and it throws the following error:
Here is the EffectComposer in the component's return statement:
// ...
{/* NOTE: Causing null `alpha` error in Chrome */}
<EffectComposer>
<Bloom
luminanceThreshold={0.3}
luminanceSmoothing={0.5}
mipmapBlur
intensity={1.0}
/>
</EffectComposer>
// ...
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、示されている EffectComposer と Bloom の構成、特に mipmapBlur を使って Chrome のエラーを再現します。これらのエントリポイントから null alpha の失敗を追跡します。シーンが Chrome の例外なしにレンダリングされ、その挙動がリグレッションチェックでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, three.js, typescript
- 領域
- computer-graphics, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100