| 
					Custom PPSSPP shaders
				 | 
| 
					06-23-2014, 07:13 AM 
				  Post: #145 | |||
| 
 | |||
| RE: Custom PPSSPP shaders 
					Thanks! That made a big difference in my understanding. My final question then is that in order to modify the shader further, to control the brightness in the second example, then would I have to do something like  float distance = dot(v_texcoord0 - 0.5, v_texcoord0 - 0.5); distance = clamp(distance - 0.7, 0.0, 1.0); float vignette = 1.0 + 0.7 * (distance * 3.0) + (dot(v_texcoord0 - 0.5, v_texcoord0 - 0.5) * 4.0); with 4 being the higher brightness? Sorry, for all the questions, I am really new to writing shaders. But I prefer to learn how to do something instead of pestering people on the board to do it for me lol. | |||
| 
					« Next Oldest | Next Newest »
				 | 

 Search
Search Member List
Member List Calendar
Calendar Help
Help 

 


