pmndrs / pmndrs/react-postprocessing

Outline introducing lighting changes to my scene

オープン
#112 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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.
pp-proof

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

条件付きの EffectComposer と Outline のスニペットを再現し、添付画像を参照して、アクティブ化する前、アクティブな間、無効化した後のライティングを比較してください。ライティングの変化の原因を切り分け、エフェクトを切り替えてもシーンのライティングが一貫していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, three.js, typescript
領域
computer-graphics
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。