mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	gl_shader_gen: View should be normalized.
This commit is contained in:
		
							parent
							
								
									c37de30cfc
								
							
						
					
					
						commit
						01b407638c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -341,11 +341,11 @@ static void WriteLighting(std::string& out, const PicaShaderConfig& config) { | |||
|             break; | ||||
| 
 | ||||
|         case Regs::LightingLutInput::VH: | ||||
|             index = std::string("dot(view, " + half_angle + ")"); | ||||
|             index = std::string("dot(normalize(view), " + half_angle + ")"); | ||||
|             break; | ||||
| 
 | ||||
|         case Regs::LightingLutInput::NV: | ||||
|             index = std::string("dot(normal, view)"); | ||||
|             index = std::string("dot(normal, normalize(view))"); | ||||
|             break; | ||||
| 
 | ||||
|         case Regs::LightingLutInput::LN: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue