You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Add Cone and Cylinder shapes to FogVolume
This complements the existing Ellipsoid and Box local fog shapes. This can be used to represent a light cone coming from a SpotLight.
This commit is contained in:
@@ -724,8 +724,11 @@ public:
|
||||
|
||||
enum FogVolumeShape {
|
||||
FOG_VOLUME_SHAPE_ELLIPSOID,
|
||||
FOG_VOLUME_SHAPE_CONE,
|
||||
FOG_VOLUME_SHAPE_CYLINDER,
|
||||
FOG_VOLUME_SHAPE_BOX,
|
||||
FOG_VOLUME_SHAPE_WORLD,
|
||||
FOG_VOLUME_SHAPE_MAX,
|
||||
};
|
||||
|
||||
virtual void fog_volume_set_shape(RID p_fog_volume, FogVolumeShape p_shape) = 0;
|
||||
|
||||
Reference in New Issue
Block a user