shaders | {Hull={vertex_shader=griff_normalmap_ships.vertex;fragment_shader=griff_cobra_mk3_npc.fragment;textures=(griff_cobra_mk3_mainhull_diffuse_spec.png,griff_cobra_mk3_mainhull_normal.png,griff_cobra_mk3_mainhull_effects.png,{name=griff_decals_npc.png;repeat_s=yes;});uniforms={uColorMap={type=texture;value=0;};uNormalMap={type=texture;value=1;};uEffectsMap={type=texture;value=2;};uDecalMap={type=texture;value=3;};uTime=universalTime;nearly_dead=throwingSparks;isHostile=hasHostileTarget;hull_heat_level=hullHeatLevel;engine_power=speedFactor;PaintColor1={type=randomUnitVector;scale=1.0;};PaintColor2={type=randomUnitVector;scale=0.63;};DecalColor={type=randomUnitVector;scale=0.8;};uDecalSelect=entityPersonality;uDecalChannelSelect={type=randomFloat;scale=1.0;};ExhaustCoreCol={type=vector;value=0.8741 0.7008 0.0;};ExhaustPlumeCol={type=vector;value=1.0 0.0 0.75;};};};Gun={vertex_shader=griff_normalmap_ships.vertex;fragment_shader=griff_cobra_mk3_gun.fragment;textures=(griff_cobra_mk3_front_gun_diffuse_spec.png,griff_cobra_mk3_front_gun_normal.png);uniforms={uColorMap={type=texture;value=0;};uNormalMap={type=texture;value=1;};uTime=universalTime;hull_heat_level=hullHeatLevel;laser_heat_level=laserHeatLevel;};};} |