$reflectivity: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Note:$reflectivity only affects static lighting.
Note:$reflectivity only affects static lighting.
 Tip:(only in
Tip:(only in  ) You can use the
) You can use the 
		
	
| No edit summary | SirYodaJedi (talk | contribs)  mNo edit summary | ||
| Line 4: | Line 4: | ||
| {{note|$reflectivity only affects [[static light|static lighting]].}} | {{note|$reflectivity only affects [[static light|static lighting]].}} | ||
| {{tip|You can use the <code>-reflectivityScale <[[float]]></code> parameter in [[VRAD]] to scale the light bounced across the whole map. Default is 1.}} | {{tip|{{slamminsrc|only}} You can use the <code>-reflectivityScale <[[float]]></code> parameter in [[VRAD]] to scale the light bounced across the whole map. Default is 1.}} | ||
| == Usage == | == Usage == | ||
Latest revision as of 12:35, 22 April 2024
$reflectivity overrides a VTF file's embedded reflectivity value. It tells VRAD how much light should be bounced off the material, without affecting how much it receives.
 Note:$reflectivity only affects static lighting.
Note:$reflectivity only affects static lighting. Tip:(only in
Tip:(only in  ) You can use the
) You can use the -reflectivityScale <float> parameter in VRAD to scale the light bounced across the whole map. Default is 1.Usage
To bounce 50% of received light:
$reflectivity "[.5 .5 .5]"
The value is a material vector, representing a RGB color value.
