Remove the early exit to make sure the prepass textures are cleared (#7891)
# Objective - Fixes #7888. ## Solution - Remove the early exit to make sure the prepass textures are cleared.
This commit is contained in:
		
							parent
							
								
									0b794c8f1e
								
							
						
					
					
						commit
						a213c8ac94
					
				| @ -69,10 +69,6 @@ impl Node for PrepassNode { | |||||||
|             return Ok(()); |             return Ok(()); | ||||||
|         }; |         }; | ||||||
| 
 | 
 | ||||||
|         if opaque_prepass_phase.items.is_empty() && alpha_mask_prepass_phase.items.is_empty() { |  | ||||||
|             return Ok(()); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         let mut color_attachments = vec![]; |         let mut color_attachments = vec![]; | ||||||
|         if let Some(view_normals_texture) = &view_prepass_textures.normal { |         if let Some(view_normals_texture) = &view_prepass_textures.normal { | ||||||
|             color_attachments.push(Some(RenderPassColorAttachment { |             color_attachments.push(Some(RenderPassColorAttachment { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Edgar Geier
						Edgar Geier