Make Globals visible in vertex shaders (#12032)
# Objective - Globals are supposed to be available in vertex shader but that was mistakenly removed in 0.13 ## Solution - Configure the visibility of the globals correctly Fixes https://github.com/bevyengine/bevy/issues/12015
This commit is contained in:
		
							parent
							
								
									11a3b77811
								
							
						
					
					
						commit
						a513493dcc
					
				| @ -250,7 +250,10 @@ fn layout_entries( | ||||
|                 ), | ||||
|             ), | ||||
|             // Globals
 | ||||
|             (9, uniform_buffer::<GlobalsUniform>(false)), | ||||
|             ( | ||||
|                 9, | ||||
|                 uniform_buffer::<GlobalsUniform>(false).visibility(ShaderStages::VERTEX_FRAGMENT), | ||||
|             ), | ||||
|             // Fog
 | ||||
|             (10, uniform_buffer::<GpuFog>(true)), | ||||
|             // Light probes
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 IceSentry
						IceSentry