mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Document Light contact shadows often looking broken
(cherry picked from commit 9171737e2b)
			
			
This commit is contained in:
		
							parent
							
								
									2c174cbc0a
								
							
						
					
					
						commit
						83bfc89466
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -62,7 +62,8 @@ | ||||||
| 			The color of shadows cast by this light. | 			The color of shadows cast by this light. | ||||||
| 		</member> | 		</member> | ||||||
| 		<member name="shadow_contact" type="float" setter="set_param" getter="get_param" default="0.0"> | 		<member name="shadow_contact" type="float" setter="set_param" getter="get_param" default="0.0"> | ||||||
| 			Attempts to reduce [member shadow_bias] gap. | 			Attempts to reduce [member shadow_bias] gap by rendering screen-space contact shadows. This has a performance impact, especially at higher values. | ||||||
|  | 			[b]Note:[/b] Contact shadows can look broken, so leaving this property to [code]0.0[/code] is recommended. | ||||||
| 		</member> | 		</member> | ||||||
| 		<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false"> | 		<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false"> | ||||||
| 			If [code]true[/code], the light will cast shadows. | 			If [code]true[/code], the light will cast shadows. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hugo Locurcio
						Hugo Locurcio