@@ -2402,8 +2402,10 @@ GLShader_generic::GLShader_generic( GLShaderManager *manager ) :
2402
2402
u_AlphaThreshold( this ),
2403
2403
u_ModelMatrix( this ),
2404
2404
u_ModelViewProjectionMatrix( this ),
2405
- u_ColorModulateColorGen( this ),
2406
- u_Color( this ),
2405
+ u_ColorModulateColorGen_Float( this ),
2406
+ u_ColorModulateColorGen_Uint( this ),
2407
+ u_Color_Float( this ),
2408
+ u_Color_Uint( this ),
2407
2409
u_Bones( this ),
2408
2410
u_VertexInterpolation( this ),
2409
2411
u_DepthScale( this ),
@@ -2434,8 +2436,8 @@ GLShader_genericMaterial::GLShader_genericMaterial( GLShaderManager* manager ) :
2434
2436
u_AlphaThreshold( this ),
2435
2437
u_ModelMatrix( this ),
2436
2438
u_ModelViewProjectionMatrix( this ),
2437
- u_ColorModulateColorGen ( this ),
2438
- u_Color ( this ),
2439
+ u_ColorModulateColorGen_Uint ( this ),
2440
+ u_Color_Uint ( this ),
2439
2441
u_DepthScale( this ),
2440
2442
u_ShowTris( this ),
2441
2443
u_MaterialColour( this ),
@@ -2469,8 +2471,10 @@ GLShader_lightMapping::GLShader_lightMapping( GLShaderManager *manager ) :
2469
2471
u_LightTiles( this ),
2470
2472
u_TextureMatrix( this ),
2471
2473
u_SpecularExponent( this ),
2472
- u_ColorModulateColorGen( this ),
2473
- u_Color( this ),
2474
+ u_ColorModulateColorGen_Float( this ),
2475
+ u_ColorModulateColorGen_Uint( this ),
2476
+ u_Color_Float( this ),
2477
+ u_Color_Uint( this ),
2474
2478
u_AlphaThreshold( this ),
2475
2479
u_ViewOrigin( this ),
2476
2480
u_ModelMatrix( this ),
@@ -2537,8 +2541,8 @@ GLShader_lightMappingMaterial::GLShader_lightMappingMaterial( GLShaderManager* m
2537
2541
u_LightTiles( this ),
2538
2542
u_TextureMatrix( this ),
2539
2543
u_SpecularExponent( this ),
2540
- u_ColorModulateColorGen ( this ),
2541
- u_Color ( this ),
2544
+ u_ColorModulateColorGen_Uint ( this ),
2545
+ u_Color_Uint ( this ),
2542
2546
u_AlphaThreshold( this ),
2543
2547
u_ViewOrigin( this ),
2544
2548
u_ModelMatrix( this ),
@@ -2596,8 +2600,10 @@ GLShader_forwardLighting_omniXYZ::GLShader_forwardLighting_omniXYZ( GLShaderMana
2596
2600
u_TextureMatrix( this ),
2597
2601
u_SpecularExponent( this ),
2598
2602
u_AlphaThreshold( this ),
2599
- u_ColorModulateColorGen( this ),
2600
- u_Color( this ),
2603
+ u_ColorModulateColorGen_Float( this ),
2604
+ u_ColorModulateColorGen_Uint( this ),
2605
+ u_Color_Float( this ),
2606
+ u_Color_Uint( this ),
2601
2607
u_ViewOrigin( this ),
2602
2608
u_LightOrigin( this ),
2603
2609
u_LightColor( this ),
@@ -2649,8 +2655,10 @@ GLShader_forwardLighting_projXYZ::GLShader_forwardLighting_projXYZ( GLShaderMana
2649
2655
u_TextureMatrix( this ),
2650
2656
u_SpecularExponent( this ),
2651
2657
u_AlphaThreshold( this ),
2652
- u_ColorModulateColorGen( this ),
2653
- u_Color( this ),
2658
+ u_ColorModulateColorGen_Float( this ),
2659
+ u_ColorModulateColorGen_Uint( this ),
2660
+ u_Color_Float( this ),
2661
+ u_Color_Uint( this ),
2654
2662
u_ViewOrigin( this ),
2655
2663
u_LightOrigin( this ),
2656
2664
u_LightColor( this ),
@@ -2713,8 +2721,10 @@ GLShader_forwardLighting_directionalSun::GLShader_forwardLighting_directionalSun
2713
2721
u_TextureMatrix( this ),
2714
2722
u_SpecularExponent( this ),
2715
2723
u_AlphaThreshold( this ),
2716
- u_ColorModulateColorGen( this ),
2717
- u_Color( this ),
2724
+ u_ColorModulateColorGen_Float( this ),
2725
+ u_ColorModulateColorGen_Uint( this ),
2726
+ u_Color_Float( this ),
2727
+ u_Color_Uint( this ),
2718
2728
u_ViewOrigin( this ),
2719
2729
u_LightDir( this ),
2720
2730
u_LightColor( this ),
@@ -2776,7 +2786,8 @@ GLShader_shadowFill::GLShader_shadowFill( GLShaderManager *manager ) :
2776
2786
u_LightRadius( this ),
2777
2787
u_ModelMatrix( this ),
2778
2788
u_ModelViewProjectionMatrix( this ),
2779
- u_Color( this ),
2789
+ u_Color_Float( this ),
2790
+ u_Color_Uint( this ),
2780
2791
u_Bones( this ),
2781
2792
u_VertexInterpolation( this ),
2782
2793
GLDeformStage( this ),
@@ -2884,7 +2895,8 @@ GLShader_fogQuake3::GLShader_fogQuake3( GLShaderManager *manager ) :
2884
2895
u_FogMap( this ),
2885
2896
u_ModelMatrix( this ),
2886
2897
u_ModelViewProjectionMatrix( this ),
2887
- u_ColorGlobal( this ),
2898
+ u_ColorGlobal_Float( this ),
2899
+ u_ColorGlobal_Uint( this ),
2888
2900
u_Bones( this ),
2889
2901
u_VertexInterpolation( this ),
2890
2902
u_FogDistanceVector( this ),
@@ -2906,7 +2918,7 @@ GLShader_fogQuake3Material::GLShader_fogQuake3Material( GLShaderManager* manager
2906
2918
u_FogMap( this ),
2907
2919
u_ModelMatrix( this ),
2908
2920
u_ModelViewProjectionMatrix( this ),
2909
- u_ColorGlobal ( this ),
2921
+ u_ColorGlobal_Uint ( this ),
2910
2922
u_FogDistanceVector( this ),
2911
2923
u_FogDepthVector( this ),
2912
2924
u_FogEyeT( this ),
@@ -2923,7 +2935,8 @@ GLShader_fogGlobal::GLShader_fogGlobal( GLShaderManager *manager ) :
2923
2935
u_DepthMap( this ),
2924
2936
u_ModelViewProjectionMatrix( this ),
2925
2937
u_UnprojectMatrix( this ),
2926
- u_Color( this ),
2938
+ u_Color_Float( this ),
2939
+ u_Color_Uint( this ),
2927
2940
u_FogDistanceVector( this )
2928
2941
{
2929
2942
}
0 commit comments