官术网_书友最值得收藏!

How to do it...

  1. We first create a new Post Processing Profile by right-clicking within the Assets folder in the Project window and then selecting Create | Post Processing Profile. Once selected, it will allow us to rename the item. Go ahead and set the name to HorrorProfile.
  2. Select the Post-process volume object and, from the Inspector window, go to the Post Processing Volume component and assign the Profile property to the HorrorProflie we just created.
  3. Unlike previous settings, though, the fog settings are located in the Lighting window, which can be accessed by going into Window | Lighting.
  4. From there, scroll all the way to the bottom until you reach the Other Settings option. Once there, check Fog and set the color to a value that is close to the skybox. I used the following settings:

If you know the hex values of the color from your graphic editing software you can just type it in the Hex Color property of the Color window.

  1. Next, change the Mode to Exponential and the Density to 0.03:

As you can see, it's already much more spooky that it was previously, but there are still more options that we can change.

  1. Open up the HorrorProfile again and go to the Inspector tab. Press the Add effect... button and select Unity | Ambient Occlusion. Check the Mode option and select Scalable Ambient Obscurance. Afterward, change the Intensity to 2 and the Radius to 20:
  1. Lastly, lighting often has a big effect on the theme of a scene as well. If you're using the example map, select the Directional Light object in the Hierarchy tab and, from the Inspector tab under the Light component, change the Intensity to 0.5 and then adjust the Color to something darker. (I used the same color as in step 4 with a HEX of 5F7684FF.) 
  1. Save your game and then start it to see the effect of all of the changes:

The final result of our horror look

主站蜘蛛池模板: 镇安县| 延吉市| 新蔡县| 雷波县| 英德市| 苍梧县| 常德市| 泗洪县| 三台县| 平阴县| 潞城市| 遵义县| 阿拉善盟| 绥德县| 突泉县| 青州市| 浪卡子县| 文成县| 广元市| 芷江| 高邮市| 兴业县| 屏东县| 四川省| 顺义区| 逊克县| 孝感市| 临沧市| 华亭县| 鄂伦春自治旗| 榆中县| 旺苍县| 凤凰县| 皋兰县| 临桂县| 隆德县| 和硕县| 波密县| 阳高县| 九寨沟县| 石棉县|