@@ -2553,7 +2553,6 @@ GLShader_shadowFill::GLShader_shadowFill( GLShaderManager *manager ) :
25532553 GLShader( " shadowFill" , ATTR_POSITION | ATTR_TEXCOORD | ATTR_QTANGENT, manager ),
25542554 u_ColorMap( this ),
25552555 u_TextureMatrix( this ),
2556- u_ViewOrigin( this ),
25572556 u_AlphaThreshold( this ),
25582557 u_LightOrigin( this ),
25592558 u_LightRadius( this ),
@@ -2633,11 +2632,9 @@ GLShader_skybox::GLShader_skybox( GLShaderManager *manager ) :
26332632 u_ColorMapCube( this ),
26342633 u_CloudMap( this ),
26352634 u_TextureMatrix( this ),
2636- u_ViewOrigin( this ),
26372635 u_CloudHeight( this ),
26382636 u_UseCloudMap( this ),
26392637 u_AlphaThreshold( this ),
2640- u_ModelMatrix( this ),
26412638 u_ModelViewProjectionMatrix( this )
26422639{
26432640}
@@ -2653,11 +2650,9 @@ GLShader_skyboxMaterial::GLShader_skyboxMaterial( GLShaderManager* manager ) :
26532650 u_ColorMapCube( this ),
26542651 u_CloudMap( this ),
26552652 u_TextureMatrix( this ),
2656- u_ViewOrigin( this ),
26572653 u_CloudHeight( this ),
26582654 u_UseCloudMap( this ),
26592655 u_AlphaThreshold( this ),
2660- u_ModelMatrix( this ),
26612656 u_ModelViewProjectionMatrix( this )
26622657{}
26632658
@@ -2708,13 +2703,10 @@ GLShader_fogGlobal::GLShader_fogGlobal( GLShaderManager *manager ) :
27082703 GLShader( " fogGlobal" , ATTR_POSITION, manager ),
27092704 u_ColorMap( this ),
27102705 u_DepthMap( this ),
2711- u_ViewOrigin( this ),
2712- u_ViewMatrix( this ),
27132706 u_ModelViewProjectionMatrix( this ),
27142707 u_UnprojectMatrix( this ),
27152708 u_Color( this ),
2716- u_FogDistanceVector( this ),
2717- u_FogDepthVector( this )
2709+ u_FogDistanceVector( this )
27182710{
27192711}
27202712
@@ -2730,15 +2722,10 @@ GLShader_heatHaze::GLShader_heatHaze( GLShaderManager *manager ) :
27302722 u_NormalMap( this ),
27312723 u_HeightMap( this ),
27322724 u_TextureMatrix( this ),
2733- u_ViewOrigin( this ),
2734- u_ViewUp( this ),
27352725 u_DeformMagnitude( this ),
2736- u_ModelMatrix( this ),
27372726 u_ModelViewProjectionMatrix( this ),
27382727 u_ModelViewMatrixTranspose( this ),
27392728 u_ProjectionMatrixTranspose( this ),
2740- u_ColorModulate( this ),
2741- u_Color( this ),
27422729 u_Bones( this ),
27432730 u_NormalScale( this ),
27442731 u_VertexInterpolation( this ),
@@ -2761,16 +2748,11 @@ GLShader_heatHazeMaterial::GLShader_heatHazeMaterial( GLShaderManager* manager )
27612748 u_NormalMap( this ),
27622749 u_HeightMap( this ),
27632750 u_TextureMatrix( this ),
2764- u_ViewOrigin( this ),
2765- u_ViewUp( this ),
27662751 u_DeformEnable( this ),
27672752 u_DeformMagnitude( this ),
2768- u_ModelMatrix( this ),
27692753 u_ModelViewProjectionMatrix( this ),
27702754 u_ModelViewMatrixTranspose( this ),
27712755 u_ProjectionMatrixTranspose( this ),
2772- u_ColorModulate( this ),
2773- u_Color( this ),
27742756 u_NormalScale( this ),
27752757 GLDeformStage( this )
27762758{
@@ -2837,7 +2819,6 @@ GLShader_cameraEffects::GLShader_cameraEffects( GLShaderManager *manager ) :
28372819 u_ColorModulate( this ),
28382820 u_TextureMatrix( this ),
28392821 u_ModelViewProjectionMatrix( this ),
2840- u_DeformMagnitude( this ),
28412822 u_InverseGamma( this )
28422823{
28432824}
0 commit comments