Template:KV Source 2 LightProbeVolume

From Valve Developer Community
Jump to navigation Jump to search
Source 2 LightProbeVolume:
Light Probe Texture (lightprobetexture) ([todo internal name (i)]) <string>
Name of the light probe texture.
Tip.pngTip:This is normally assigned by the light baker and does not need to be manually set.
Box Mins (box_mins) ([todo internal name (i)]) <vector>
Minimum bounds. Set by dragging the controls of the entity with the Hammer Select tool.
Box Maxs (box_maxs) ([todo internal name (i)]) <vector>
Maximum bounds. Set by dragging the controls of the entity with the Hammer Select tool.
Voxel Size (voxel_size) ([todo internal name (i)]) <float>
Size of the light probe voxels in game units.
  • 12.0 - Very High Resolution
  • 24.0 - High Resolution
  • 48.0 - Medium Resolution
  • 108.0 - Low Resolution
Tip.pngTip:This keyvalue is not limited to the presets, other values can be set with the Raw Edit mode.
Ignore Unreachable Space (flood_fill) ([todo internal name (i)]) <boolean>
Todo: Possibly uses adjacent lit samples to fill out any samples that aren't visible to any lights.
Ignore Voxelized Solid Space (voxelize) ([todo internal name (i)]) <boolean>
Calculate Diffuse Lighting Using Cubemap (light_probe_volume_from_cubemap) ([todo internal name (i)]) <boolean>
Uses cubemaps instead of the light mapper directly to generate the light probes.
Note.pngNote:This can speed up light baking by a significant amount, but can generate incorrect lighting in areas not directly visible to the cubemap origin.
Storage (storage) ([todo internal name (i)]) <choices>
Texture format to store the light probes as.
  • -1 - Default
  • 0 - AmbientCube RGBM8888 Uncompressed
  • 1 - AmbientCube RGBMDXT5 Compressed