forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			37 lines
		
	
	
		
			761 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
		
		
			
		
	
	
			37 lines
		
	
	
		
			761 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
|  | { | ||
|  | 	"contexts": [ | ||
|  | 		{ | ||
|  | 			"name": "probe_cubemap", | ||
|  | 			"depth_write": false, | ||
|  | 			"compare_mode": "less", | ||
|  | 			"cull_mode": "clockwise", | ||
|  | 			"blend_source": "blend_one", | ||
|  | 			"blend_destination": "blend_one", | ||
|  | 			"blend_operation": "add", | ||
|  | 			"alpha_blend_source": "blend_one", | ||
|  | 			"alpha_blend_destination": "blend_one", | ||
|  | 			"alpha_blend_operation": "add", | ||
|  | 			"links": [ | ||
|  | 				{ | ||
|  | 					"name": "VWVP", | ||
|  | 					"link": "_worldViewProjectionMatrix" | ||
|  | 				}, | ||
|  | 				{ | ||
|  | 					"name": "invVP", | ||
|  | 					"link": "_inverseViewProjectionMatrix" | ||
|  | 				}, | ||
|  | 				{ | ||
|  | 					"name": "probep", | ||
|  | 					"link": "_probePosition" | ||
|  | 				}, | ||
|  | 				{ | ||
|  | 					"name": "eye", | ||
|  | 					"link": "_cameraPosition" | ||
|  | 				} | ||
|  | 			], | ||
|  | 			"vertex_shader": "../include/pass_volume.vert.glsl", | ||
|  | 			"fragment_shader": "probe_cubemap.frag.glsl" | ||
|  | 		} | ||
|  | 	] | ||
|  | } |