Template:KV Source 2 LightProbeVolume: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(add Ignore Voxelized Solid Space (voxelize) keyvalue)
Line 11: Line 11:
:{{tip|This keyvalue is not limited to the presets, other values can be set with the Raw Edit mode.}}
:{{tip|This keyvalue is not limited to the presets, other values can be set with the Raw Edit mode.}}
{{KV|Ignore Unreachable Space (flood_fill)|boolean|{{todo|Possibly uses adjacent lit samples to fill out any samples that aren't visible to any lights.}}}}
{{KV|Ignore Unreachable Space (flood_fill)|boolean|{{todo|Possibly uses adjacent lit samples to fill out any samples that aren't visible to any lights.}}}}
{{KV|Ignore Voxelized Solid Space (voxelize)|boolean|
{{KV|Calculate Diffuse Lighting Using Cubemap (light_probe_volume_from_cubemap)|boolean|Uses cubemaps instead of the light mapper directly to generate the light probes.}}
{{KV|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|This can speed up light baking by a significant amount, but can generate incorrect lighting in areas not directly visible to the cubemap origin.}}
: {{note|This can speed up light baking by a significant amount, but can generate incorrect lighting in areas not directly visible to the cubemap origin.}}

Revision as of 11:31, 24 July 2022

{{ScrollBox|title=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