Fix unlit missing parameters (#10144)
# Objective - The refactoring in https://github.com/bevyengine/bevy/pull/10105 missed including the frag_coord and normal in pbr_input. ## Solution - Add them back
This commit is contained in:
		
							parent
							
								
									a042924a6e
								
							
						
					
					
						commit
						490699c311
					
				| @ -166,6 +166,8 @@ fn fragment( | ||||
|         pbr_input.flags = mesh[in.instance_index].flags; | ||||
|         pbr_input.material.flags = pbr_bindings::material.flags; | ||||
|         pbr_input.world_position = in.world_position; | ||||
|         pbr_input.world_normal = in.world_normal; | ||||
|         pbr_input.frag_coord = in.position; | ||||
| #endif | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Griffin
						Griffin