1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-22 20:25:28 +08:00
Files
LearnOpenGL-CN/old/05/07 Bloom.md
2015-07-03 16:45:45 +08:00

11 lines
999 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本文作者JoeyDeVries由Meow J翻译自[http://learnopengl.com](http://learnopengl.com/#!Advanced-Lighting/Bloom)
## 泛光(Bloom)
亮光源与被光照区域常常很难传达给观众,因为显示器的光强度范围是受限制的. 其中一个解决方案是让这些光源泛光(Glow)从而区分亮光源: 让光漏(bleed)出光源. 这有效让观众感觉到光源和光照区域非常的亮.
光的是通过一个后期处理效果叫做泛光(Bloom)来完成的. 泛光让所有光照地区一种在发光的效果.下面两个场景就是有泛光(右)与无泛光(左)的区别(图像来自于虚幻引擎(Unreal)):
![](http://learnopengl.com/img/advanced-lighting/bloom_example.png)
泛光提供了对于物体亮度显眼的视觉暗示,因为泛光能给我们物体真的是很亮的视觉效果. 如果我们能够很好的完成它(有一些游戏实现的很糟糕),泛光将能很大程度的加强我们场景的光照效果,并且也能给我们很多特效.