vertex_program SO3/PSSM/ShadowCasterVP/HLSL hlsl { source PssmShadow/pssmCasterVp.glsl target vs_4_0 } vertex_program SO3/PSSM/ShadowCasterVP/GL glsl glsles glslang { source PssmShadow/pssmCasterVp.glsl } vertex_program SO3/PSSM/ShadowCasterVP unified { delegate SO3/PSSM/ShadowCasterVP/HLSL delegate SO3/PSSM/ShadowCasterVP/GL default_params { param_named_auto worldViewProj worldviewproj_matrix param_named_auto worldMat world_matrix param_named_auto texelOffsets texel_offsets param_named_auto texMat texture_matrix 0 } } fragment_program SO3/PSSM/ShadowCasterFP/HLSL hlsl { source PssmShadow/pssmCasterFp.glsl target ps_4_0 } fragment_program SO3/PSSM/ShadowCasterFP/GL glsl glsles glslang { source PssmShadow/pssmCasterFp.glsl } fragment_program SO3/PSSM/ShadowCasterFP unified { delegate SO3/PSSM/ShadowCasterFP/HLSL delegate SO3/PSSM/ShadowCasterFP/GL default_params { shared_params_ref SO3SlicePlaneParams param_named_auto materialColor surface_ambient_colour } } fragment_program SO3/PSSM/ShadowCasterFP/Alpha/HLSL hlsl { source PssmShadow/pssmCasterAlphaFp.glsl target ps_4_0 } fragment_program SO3/PSSM/ShadowCasterFP/Alpha/GL glsl glsles glslang { source PssmShadow/pssmCasterAlphaFp.glsl } fragment_program SO3/PSSM/ShadowCasterFP/Alpha unified { delegate SO3/PSSM/ShadowCasterFP/Alpha/HLSL delegate SO3/PSSM/ShadowCasterFP/Alpha/GL default_params { shared_params_ref SO3SlicePlaneParams param_named_auto materialColor surface_ambient_colour } } vertex_program SO3/PSSM/ShadowReceiverVP/HLSL hlsl { source PssmShadow/pssmReceiverVp.glsl target vs_4_0 default_params { param_named_auto worldViewProjMatrix worldviewproj_matrix param_named_auto worldMat world_matrix param_named_auto witMat inverse_transpose_world_matrix param_named_auto texWorldViewProjMatrix0 texture_viewproj_matrix 0 param_named_auto texWorldViewProjMatrix1 texture_viewproj_matrix 1 param_named_auto texWorldViewProjMatrix2 texture_viewproj_matrix 2 param_named_auto texMat texture_matrix 0 } } vertex_program SO3/PSSM/ShadowReceiverVP/GL glsl glsles glslang { source PssmShadow/pssmReceiverVp.glsl default_params { param_named_auto worldViewProjMatrix worldviewproj_matrix param_named_auto worldMat world_matrix param_named_auto witMat inverse_transpose_world_matrix param_named_auto texWorldViewProjMatrix0 texture_viewproj_matrix 0 param_named_auto texWorldViewProjMatrix1 texture_viewproj_matrix 1 param_named_auto texWorldViewProjMatrix2 texture_viewproj_matrix 2 param_named_auto texMat texture_matrix 0 } } vertex_program SO3/PSSM/ShadowReceiverVP unified { delegate SO3/PSSM/ShadowReceiverVP/HLSL delegate SO3/PSSM/ShadowReceiverVP/GL } fragment_program SO3/PSSM/ShadowReceiverFP/HLSL hlsl { source PssmShadow/pssmReceiverFp.glsl target ps_4_0 default_params { param_named_auto materialColor surface_ambient_colour // shadow samplers are indexes 1/2/3 param_named_auto invShadowMapSize0 inverse_texture_size 0 param_named_auto invShadowMapSize1 inverse_texture_size 1 param_named_auto invShadowMapSize2 inverse_texture_size 2 param_named_auto lightPosition light_position_array 6 param_named_auto spotlight spotlight_params_array 6 param_named_auto spotDir light_direction_array 6 param_named_auto lightAtt light_attenuation_array 6 param_named fogParams float4 0 0 0 0 shared_params_ref SO3SlicePlaneParams //SET THIS MANUALLY! //param_named pssmSplitPoints 0 0 0 0 } } fragment_program SO3/PSSM/ShadowReceiverFP/GL glsl glsles { source PssmShadow/pssmReceiverFp.glsl default_params { param_named_auto materialColor surface_ambient_colour // shadow samplers are indexes 1/2/3 param_named_auto invShadowMapSize0 inverse_texture_size 0 param_named_auto invShadowMapSize1 inverse_texture_size 1 param_named_auto invShadowMapSize2 inverse_texture_size 2 param_named_auto lightPosition light_position_array 6 param_named_auto spotlight spotlight_params_array 6 param_named_auto spotDir light_direction_array 6 param_named_auto lightAtt light_attenuation_array 6 param_named fogParams float4 0 0 0 0 shared_params_ref SO3SlicePlaneParams param_named shadowMap0 int 0; param_named shadowMap1 int 1; param_named shadowMap2 int 2; param_named alphaTexture int 3; //SET THIS MANUALLY! //param_named pssmSplitPoints 0 0 0 0 } } fragment_program SO3/PSSM/ShadowReceiverFP/GLSLang glslang { source PssmShadow/pssmReceiverFp.glsl default_params { param_named_auto materialColor surface_ambient_colour // shadow samplers are indexes 1/2/3 param_named_auto invShadowMapSize0 inverse_texture_size 0 param_named_auto invShadowMapSize1 inverse_texture_size 1 param_named_auto invShadowMapSize2 inverse_texture_size 2 param_named_auto lightPosition light_position_array 6 param_named_auto spotlight spotlight_params_array 6 param_named_auto spotDir light_direction_array 6 param_named_auto lightAtt light_attenuation_array 6 param_named fogParams float4 0 0 0 0 shared_params_ref SO3SlicePlaneParams //SET THIS MANUALLY! //param_named pssmSplitPoints 0 0 0 0 } } fragment_program SO3/PSSM/ShadowReceiverFP unified { delegate SO3/PSSM/ShadowReceiverFP/HLSL delegate SO3/PSSM/ShadowReceiverFP/GLSLang delegate SO3/PSSM/ShadowReceiverFP/GL } vertex_program SO3/PSSM/ShadowReceiver2VP/HLSL hlsl { source PssmShadow/pssmReceiver2Vp.glsl target vs_4_0 default_params { param_named_auto worldViewProjMatrix worldviewproj_matrix param_named_auto worldMat world_matrix param_named_auto witMat inverse_transpose_world_matrix param_named_auto texWorldViewProjMatrix0 texture_viewproj_matrix 0 param_named_auto texWorldViewProjMatrix1 texture_viewproj_matrix 1 param_named_auto texMat texture_matrix 0 } } vertex_program SO3/PSSM/ShadowReceiver2VP/GL glsl glsles glslang { source PssmShadow/pssmReceiver2Vp.glsl default_params { param_named_auto worldViewProjMatrix worldviewproj_matrix param_named_auto worldMat world_matrix param_named_auto witMat inverse_transpose_world_matrix param_named_auto texWorldViewProjMatrix0 texture_viewproj_matrix 0 param_named_auto texWorldViewProjMatrix1 texture_viewproj_matrix 1 param_named_auto texMat texture_matrix 0 } } vertex_program SO3/PSSM/ShadowReceiver2VP unified { delegate SO3/PSSM/ShadowReceiver2VP/HLSL delegate SO3/PSSM/ShadowReceiver2VP/GL } fragment_program SO3/PSSM/ShadowReceiver2FP/HLSL hlsl { source PssmShadow/pssmReceiver2Fp.glsl target ps_4_0 } fragment_program SO3/PSSM/ShadowReceiver2FP/GL glsl glsles { source PssmShadow/pssmReceiver2Fp.glsl default_params { param_named shadowMap0 int 0; param_named shadowMap1 int 1; param_named alphaTexture int 2; } } fragment_program SO3/PSSM/ShadowReceiver2FP/GLSLang glslang { source PssmShadow/pssmReceiver2Fp.glsl } fragment_program SO3/PSSM/ShadowReceiver2FP unified { delegate SO3/PSSM/ShadowReceiver2FP/HLSL delegate SO3/PSSM/ShadowReceiver2FP/GLSLang delegate SO3/PSSM/ShadowReceiver2FP/GL default_params { param_named_auto materialColor surface_ambient_colour // shadow samplers are indexes 1/2 param_named_auto invShadowMapSize0 inverse_texture_size 0 param_named_auto invShadowMapSize1 inverse_texture_size 1 param_named_auto lightPosition light_position_array 6 param_named_auto spotlight spotlight_params_array 6 param_named_auto spotDir light_direction_array 6 param_named_auto lightAtt light_attenuation_array 6 param_named_auto lightDiff light_diffuse_colour_power_scaled_array 6 param_named fogParams float4 0 0 0 0 shared_params_ref SO3SlicePlaneParams //SET THIS MANUALLY! //param_named pssmSplitPoints 0 0 0 0 } } fragment_program SO3/PSSM/ShadowReceiverFP/basic/HLSL hlsl { source PssmShadow/pssmReceiverBasicFp.glsl target ps_4_0 } fragment_program SO3/PSSM/ShadowReceiverFP/basic/GL glsl glsles { source PssmShadow/pssmReceiverBasicFp.glsl default_params { param_named shadowMap0 int 0; param_named shadowMap1 int 1; param_named shadowMap2 int 2; } } fragment_program SO3/PSSM/ShadowReceiverFP/basic/GLSLang glslang { source PssmShadow/pssmReceiverBasicFp.glsl } fragment_program SO3/PSSM/ShadowReceiverFP/basic unified { delegate SO3/PSSM/ShadowReceiverFP/basic/HLSL delegate SO3/PSSM/ShadowReceiverFP/basic/GLSLang delegate SO3/PSSM/ShadowReceiverFP/basic/GL default_params { param_named_auto materialColor surface_ambient_colour // shadow samplers are indexes 0/1/2 in basic mode param_named_auto invShadowMapSize0 inverse_texture_size 0 param_named_auto invShadowMapSize1 inverse_texture_size 1 param_named_auto invShadowMapSize2 inverse_texture_size 2 param_named_auto lightPosition light_position_array 6 param_named_auto spotlight spotlight_params_array 6 param_named_auto spotDir light_direction_array 6 param_named_auto lightAtt light_attenuation_array 6 param_named_auto lightDiff light_diffuse_colour_power_scaled_array 6 param_named fogParams float4 0 0 0 0 shared_params_ref SO3SlicePlaneParams //SET THIS MANUALLY! //param_named pssmSplitPoints 0 0 0 0 } } fragment_program SO3/PSSM/ShadowReceiver2FP/basic/HLSL hlsl { source PssmShadow/pssmReceiverBasic2Fp.glsl target ps_4_0 } fragment_program SO3/PSSM/ShadowReceiver2FP/basic/GL glsl glsles { source PssmShadow/pssmReceiverBasic2Fp.glsl default_params { param_named shadowMap0 int 0; param_named shadowMap1 int 1; } } fragment_program SO3/PSSM/ShadowReceiver2FP/basic/GLSLang glslang { source PssmShadow/pssmReceiverBasic2Fp.glsl } fragment_program SO3/PSSM/ShadowReceiver2FP/basic unified { delegate SO3/PSSM/ShadowReceiver2FP/basic/HLSL delegate SO3/PSSM/ShadowReceiver2FP/basic/GLSLang delegate SO3/PSSM/ShadowReceiver2FP/basic/GL default_params { param_named_auto materialColor surface_ambient_colour // shadow samplers are indexes 0/1 in basic mode param_named_auto invShadowMapSize0 inverse_texture_size 0 param_named_auto invShadowMapSize1 inverse_texture_size 1 param_named_auto lightPosition light_position_array 6 param_named_auto spotlight spotlight_params_array 6 param_named_auto spotDir light_direction_array 6 param_named_auto lightAtt light_attenuation_array 6 param_named_auto lightDiff light_diffuse_colour_power_scaled_array 6 param_named fogParams float4 0 0 0 0 shared_params_ref SO3SlicePlaneParams //SET THIS MANUALLY! //param_named pssmSplitPoints 0 0 0 0 } }