@@ -2407,8 +2407,10 @@ GLShader_generic::GLShader_generic( GLShaderManager *manager ) :
2407
2407
u_AlphaThreshold( this ),
2408
2408
u_ModelMatrix( this ),
2409
2409
u_ModelViewProjectionMatrix( this ),
2410
- u_ColorModulateColorGen( this ),
2411
- u_Color( this ),
2410
+ u_ColorModulateColorGen_Float( this ),
2411
+ u_ColorModulateColorGen_Uint( this ),
2412
+ u_Color_Float( this ),
2413
+ u_Color_Uint( this ),
2412
2414
u_Bones( this ),
2413
2415
u_VertexInterpolation( this ),
2414
2416
u_DepthScale( this ),
@@ -2439,8 +2441,8 @@ GLShader_genericMaterial::GLShader_genericMaterial( GLShaderManager* manager ) :
2439
2441
u_AlphaThreshold( this ),
2440
2442
u_ModelMatrix( this ),
2441
2443
u_ModelViewProjectionMatrix( this ),
2442
- u_ColorModulateColorGen ( this ),
2443
- u_Color ( this ),
2444
+ u_ColorModulateColorGen_Uint ( this ),
2445
+ u_Color_Uint ( this ),
2444
2446
u_DepthScale( this ),
2445
2447
u_ShowTris( this ),
2446
2448
u_MaterialColour( this ),
@@ -2474,8 +2476,10 @@ GLShader_lightMapping::GLShader_lightMapping( GLShaderManager *manager ) :
2474
2476
u_LightTiles( this ),
2475
2477
u_TextureMatrix( this ),
2476
2478
u_SpecularExponent( this ),
2477
- u_ColorModulateColorGen( this ),
2478
- u_Color( this ),
2479
+ u_ColorModulateColorGen_Float( this ),
2480
+ u_ColorModulateColorGen_Uint( this ),
2481
+ u_Color_Float( this ),
2482
+ u_Color_Uint( this ),
2479
2483
u_AlphaThreshold( this ),
2480
2484
u_ViewOrigin( this ),
2481
2485
u_ModelMatrix( this ),
@@ -2542,8 +2546,8 @@ GLShader_lightMappingMaterial::GLShader_lightMappingMaterial( GLShaderManager* m
2542
2546
u_LightTiles( this ),
2543
2547
u_TextureMatrix( this ),
2544
2548
u_SpecularExponent( this ),
2545
- u_ColorModulateColorGen ( this ),
2546
- u_Color ( this ),
2549
+ u_ColorModulateColorGen_Uint ( this ),
2550
+ u_Color_Uint ( this ),
2547
2551
u_AlphaThreshold( this ),
2548
2552
u_ViewOrigin( this ),
2549
2553
u_ModelMatrix( this ),
@@ -2601,8 +2605,10 @@ GLShader_forwardLighting_omniXYZ::GLShader_forwardLighting_omniXYZ( GLShaderMana
2601
2605
u_TextureMatrix( this ),
2602
2606
u_SpecularExponent( this ),
2603
2607
u_AlphaThreshold( this ),
2604
- u_ColorModulateColorGen( this ),
2605
- u_Color( this ),
2608
+ u_ColorModulateColorGen_Float( this ),
2609
+ u_ColorModulateColorGen_Uint( this ),
2610
+ u_Color_Float( this ),
2611
+ u_Color_Uint( this ),
2606
2612
u_ViewOrigin( this ),
2607
2613
u_LightOrigin( this ),
2608
2614
u_LightColor( this ),
@@ -2654,8 +2660,10 @@ GLShader_forwardLighting_projXYZ::GLShader_forwardLighting_projXYZ( GLShaderMana
2654
2660
u_TextureMatrix( this ),
2655
2661
u_SpecularExponent( this ),
2656
2662
u_AlphaThreshold( this ),
2657
- u_ColorModulateColorGen( this ),
2658
- u_Color( this ),
2663
+ u_ColorModulateColorGen_Float( this ),
2664
+ u_ColorModulateColorGen_Uint( this ),
2665
+ u_Color_Float( this ),
2666
+ u_Color_Uint( this ),
2659
2667
u_ViewOrigin( this ),
2660
2668
u_LightOrigin( this ),
2661
2669
u_LightColor( this ),
@@ -2718,8 +2726,10 @@ GLShader_forwardLighting_directionalSun::GLShader_forwardLighting_directionalSun
2718
2726
u_TextureMatrix( this ),
2719
2727
u_SpecularExponent( this ),
2720
2728
u_AlphaThreshold( this ),
2721
- u_ColorModulateColorGen( this ),
2722
- u_Color( this ),
2729
+ u_ColorModulateColorGen_Float( this ),
2730
+ u_ColorModulateColorGen_Uint( this ),
2731
+ u_Color_Float( this ),
2732
+ u_Color_Uint( this ),
2723
2733
u_ViewOrigin( this ),
2724
2734
u_LightDir( this ),
2725
2735
u_LightColor( this ),
@@ -2781,7 +2791,8 @@ GLShader_shadowFill::GLShader_shadowFill( GLShaderManager *manager ) :
2781
2791
u_LightRadius( this ),
2782
2792
u_ModelMatrix( this ),
2783
2793
u_ModelViewProjectionMatrix( this ),
2784
- u_Color( this ),
2794
+ u_Color_Float( this ),
2795
+ u_Color_Uint( this ),
2785
2796
u_Bones( this ),
2786
2797
u_VertexInterpolation( this ),
2787
2798
GLDeformStage( this ),
@@ -2889,7 +2900,8 @@ GLShader_fogQuake3::GLShader_fogQuake3( GLShaderManager *manager ) :
2889
2900
u_FogMap( this ),
2890
2901
u_ModelMatrix( this ),
2891
2902
u_ModelViewProjectionMatrix( this ),
2892
- u_ColorGlobal( this ),
2903
+ u_ColorGlobal_Float( this ),
2904
+ u_ColorGlobal_Uint( this ),
2893
2905
u_Bones( this ),
2894
2906
u_VertexInterpolation( this ),
2895
2907
u_FogDistanceVector( this ),
@@ -2911,7 +2923,7 @@ GLShader_fogQuake3Material::GLShader_fogQuake3Material( GLShaderManager* manager
2911
2923
u_FogMap( this ),
2912
2924
u_ModelMatrix( this ),
2913
2925
u_ModelViewProjectionMatrix( this ),
2914
- u_ColorGlobal ( this ),
2926
+ u_ColorGlobal_Uint ( this ),
2915
2927
u_FogDistanceVector( this ),
2916
2928
u_FogDepthVector( this ),
2917
2929
u_FogEyeT( this ),
@@ -2928,7 +2940,8 @@ GLShader_fogGlobal::GLShader_fogGlobal( GLShaderManager *manager ) :
2928
2940
u_DepthMap( this ),
2929
2941
u_ModelViewProjectionMatrix( this ),
2930
2942
u_UnprojectMatrix( this ),
2931
- u_Color( this ),
2943
+ u_Color_Float( this ),
2944
+ u_Color_Uint( this ),
2932
2945
u_FogDistanceVector( this )
2933
2946
{
2934
2947
}
0 commit comments