materials | {snipergun_diffuse.png={emission_map={name=snipergun_effects.png;extract_channel=a;};emission_modulate_color=(0.98,0.92,0.72);specular_color=(0.3,0.3,0.3,1.0);shininess=5;vertex_shader=oolite-tangent-space-vertex.vertex;fragment_shader=snipergun_staer9.fragment;textures=(snipergun_diffuse.png,snipergun_normal.png,snipergun_effects.png);uniforms={uColorMap={type=texture;value=0;};uNormalMap={type=texture;value=1;};uEffectsMap={type=texture;value=2;};uTime=universalTime;nearly_dead=throwingSparks;isHostile=hasHostileTarget;hull_heat_level=hullHeatLevel;laser_heat_level=laserHeatLevel;engine_power=speedFactor;PaintColor1={type=randomUnitVector;scale=0.6;};};};} |