Starfield Shader

星场着色器

Basic 基础

Starfield Shader

星场着色器

This shader has no dialog and simulates a starry night. The number of stars can be controlled by tiling the texture.

这个着色器没有对话框,并且模拟了一个繁星满天的夜晚。星星的数量可以通过平铺纹理来控制。

The stars are always computed with a continually varying size. In addition, the brightness of the stars varies. The result is the effect that some stars appear to be closer than others. 恒星的大小总是不断变化的。此外,恒星的亮度也是变化的。结果就是一些恒星看起来比其他恒星靠得更近 If you project the Starfield shader with spherical projection onto a Sky object, the stars will accumulate at the north and south poles of the sky. To avoid this, use Cubic projection. 如果你将球形投影的星场着色器投射到天空物体上,星星会聚集在天空的南北两极。为了避免这种情况,使用立方体投影