39 lines
		
	
	
		
			655 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			655 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"contexts": [
 | |
| 		{
 | |
| 			"name": "ssrefr_pass",
 | |
| 			"depth_write": false,
 | |
| 			"compare_mode": "always",
 | |
| 			"cull_mode": "none",
 | |
| 			"links": [
 | |
| 				{
 | |
| 					"name": "P",
 | |
| 					"link": "_projectionMatrix"
 | |
| 				},
 | |
| 				{
 | |
| 					"name": "V3",
 | |
| 					"link": "_viewMatrix3"
 | |
| 				},
 | |
| 				{
 | |
| 					"name": "eye",
 | |
| 					"link": "_cameraPosition"
 | |
| 				},
 | |
| 				{
 | |
| 					"name": "eyeLook",
 | |
| 					"link": "_cameraLook"
 | |
| 				},
 | |
| 				{
 | |
| 					"name": "invP",
 | |
| 					"link": "_inverseProjectionMatrix"
 | |
| 				},
 | |
| 				{
 | |
| 					"name": "cameraProj",
 | |
| 					"link": "_cameraPlaneProj"
 | |
| 				}
 | |
| 			],
 | |
| 			"vertex_shader": "../include/pass_viewray2.vert.glsl",
 | |
| 			"fragment_shader": "ssrefr_pass.frag.glsl"
 | |
| 		}
 | |
| 	]
 | |
| }
 |