|
|
|
|
|
|
[AddComponentMenu("Rendering/Homogeneous Fog", -1)] |
|
|
|
public class HomogeneousFog : MonoBehaviour |
|
|
|
{ |
|
|
|
public VolumeParameters volumeParameters; |
|
|
|
public VolumeParameters volumeParameters = new VolumeParameters(); |
|
|
|
if (volumeParameters == null) |
|
|
|
{ |
|
|
|
volumeParameters = new VolumeParameters(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void OnEnable() |
|
|
|