Template:KV Source 2 LightProbeVolume

From Valve Developer Community
Jump to: navigation, search

Source 2 LightProbeVolume:
Light Probe Texture (lightprobetexture) <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) <vector>
Minimum bounds. Set by dragging the controls of the entity with the Hammer Select tool.
Box Maxs (box_maxs) <vector>
Maximum bounds. Set by dragging the controls of the entity with the Hammer Select tool.
Voxel Size (voxel_size) <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) <boolean>
Blank image.pngTodo: Possibly uses adjacent lit samples to fill out any samples that aren't visible to any lights.
Ignore Voxelized Solid Space (voxelize) <boolean>
Calculate Diffuse Lighting Using Cubemap (light_probe_volume_from_cubemap) <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) <choices>
Texture format to store the light probes as.
  • -1 - Default
  • 0 - AmbientCube RGBM8888 Uncompressed
  • 1 - AmbientCube RGBMDXT5 Compressed