{
	"contexts": [
		{
			"name": "deferred_light",
			"depth_write": false,
			"color_write_alpha": false,
			"compare_mode": "greater",
			"cull_mode": "counter_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": "LVWVP",
					"link": "_lampVolumeWorldViewProjectionMatrix"
				},
				{
					"name": "lightPos",
					"link": "_lampPosition"
				},
				{
					"name": "lightPlane",
					"link": "_lampPlane"
				},
				{
					"name": "lightDir",
					"link": "_lampDirection"
				},
				{
					"name": "lightType",
					"link": "_lampType"
				},
				{
					"name": "lightColor",
					"link": "_lampColor"
				},
				{
					"name": "lightShadow",
					"link": "_lampCastShadow"
				},
				{
					"name": "texlampcolor",
					"link": "_lampColorTexture",
					"ifdef": ["_LampColTex"]
				},
				{
					"name": "shadowsBias",
					"link": "_lampShadowsBias"
				},
				{
					"name": "spotlightData",
					"link": "_spotlampData"
				},
				{
					"name": "lampArea0",
					"link": "_lampArea0",
					"ifdef": ["_PolyLight"]
				},
				{
					"name": "lampArea1",
					"link": "_lampArea1",
					"ifdef": ["_PolyLight"]
				},
				{
					"name": "lampArea2",
					"link": "_lampArea2",
					"ifdef": ["_PolyLight"]
				},
				{
					"name": "lampArea3",
					"link": "_lampArea3",
					"ifdef": ["_PolyLight"]
				},
				{
					"name": "sltcMat",
					"link": "_ltcMat",
					"ifdef": ["_PolyLight"]
				},
				{
					"name": "sltcMag",
					"link": "_ltcMag",
					"ifdef": ["_PolyLight"]
				},
				{
					"name": "eye",
					"link": "_cameraPosition"
				},
				{
					"name": "invVP",
					"link": "_inverseViewProjectionMatrix"
				},
				{
					"name": "LWVP",
					"link": "_biasLampWorldViewProjectionMatrix"
				},
				{
					"name": "snoise",
					"link": "_noise64",
					"ifdef": ["_PCSS"]
				},
				{
					"name": "lampSizeUV",
					"link": "_lampSizeUV",
					"ifdef": ["_PCSS"]
				},
				{
					"name": "VP",
					"link": "_viewProjectionMatrix",
					"ifdef": ["_SSRS"]
				}
			],
			"vertex_shader": "deferred_light.vert.glsl",
			"vertex_shader_path": "../include/lamp_volume.vert.glsl",
			"fragment_shader": "deferred_light.frag.glsl"
		}
	]
}
