Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

ディレクショナルライトのスペキュラーについて

Discussion in 'Getting Started' started by kazuhiro2, Aug 15, 2021.

  1. kazuhiro2

    kazuhiro2

    Joined:
    Sep 10, 2019
    Posts:
    6
    建物の外にディレクショナルライトがあるのに床にスペキュラーが発生します。これを防ぐ方法はありますか? upload_2021-8-15_23-33-57.png
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
  3. kazuhiro2

    kazuhiro2

    Joined:
    Sep 10, 2019
    Posts:
    6
    説明を間違えました。
    床のすぐ上に置いてあるオブジェクトで光が届かないことを期待していますがキューブとソファーの下も明るい現象を直したいのです。
    キューブはわずかに浮いています。
    upload_2021-8-17_15-32-3.png
     
    Last edited: Aug 20, 2021
  4. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    upload_2021-8-23_12-15-54.png

    See the specular from dir light shines through the wall. If you enable shadows for the directional light on Universal Pipeline or HDRP (new version of Unity) the specular is correctly masked.

    壁を通して光が差し込む鏡面反射光をご覧ください。 Universal PipelineまたはHDRP(Unityの新しいバージョン)で指向性ライトのシャドウを有効にすると、鏡面反射光が正しくマスクされます


    upload_2021-8-23_12-16-26.png

    I cannot comment on old (built-in) pipeline as it has been many years since I have used it. In older pipelines perhaps the solution is to change material "specular highlight" as suggested before.

    古い(組み込みの)パイプラインは何年も前から存在しており、コメントすることはできません。古いパイプラインでは、おそらく解決策は、前に提案したように、マテリアルの「鏡面ハイライト」を変更することです。
     
    Mauri likes this.
  5. kazuhiro2

    kazuhiro2

    Joined:
    Sep 10, 2019
    Posts:
    6
    1,反射させる床のmaterialにUniversal Render Pipelineを使用しています。
    2,HDRPを使用しています。
    3,反射させる床をディクショナルライトで照らしていますがキューブにより影が出来ています。
    4,影の内部にスペキュラーが発生します。
    5,問題は解決していません。
    upload_2021-8-24_23-22-53.png
     

    Attached Files: