pmndrs / pmndrs/react-postprocessing
Outline introducing lighting changes to my scene
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 1.4k
- フォーク
- 134
- 平均マージ
- 4分
- マージ済み PR(30日)
- 4
説明
I have a piece of code that using the outline conditionally as shown below.
{highlight ? (
<EffectComposer multisampling={8} autoClear={false}>
<Outline
pulseSpeed={2}
selection={[myMesh2]}
visibleEdgeColor="white"
edgeStrength={100}
width={1000}
/>
</EffectComposer>
) : null}
The outline behaviour works correctly but it's introuducing weird lighting behaviours. The first image is before it triggers, the second image is while it's active and the third is disabled after being triggered at least once. Does anybody know what the cause of this is? This is the only post processing effect that's being used.

コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
条件付きの EffectComposer と Outline のスニペットを再現し、添付画像を参照して、アクティブ化する前、アクティブな間、無効化した後のライティングを比較してください。ライティングの変化の原因を切り分け、エフェクトを切り替えてもシーンのライティングが一貫していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, three.js, typescript
- 領域
- computer-graphics
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100