X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fvehicles.shader;h=2d4d606752fc7f79cb8b72a068b62368a9cbc68e;hb=35a8077bd0f39b3978210196c01a1c8828c6a2c3;hp=b8f0b0ca88b1a309e745be6b5b0f42ac07fc05ee;hpb=eacbba2db6bdb7d961fdab870c2095b5581f434f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/scripts/vehicles.shader b/scripts/vehicles.shader index b8f0b0ca8..2d4d60675 100644 --- a/scripts/vehicles.shader +++ b/scripts/vehicles.shader @@ -13,4 +13,36 @@ wakazachi map textures/wakazachi.tga rgbgen lightingDiffuse } -} \ No newline at end of file +} +cockpit +{ + dpreflectcube cubemaps/default/sky + { + map textures/cockpit.tga + rgbgen lightingDiffuse + } +} +vehicles/tracercore +{ + surfaceparm nonsolid + surfaceparm nolightmap + deformVertexes autosprite + { + map models/vehicles/tracercore.tga + blendfunc add + rgbGen lightingDiffuse + } + } +vehicles/tracertrail +{ + surfaceparm nonsolid + surfaceparm nolightmap + cull none + deformVertexes autosprite2 + { + map models/vehicles/tracertrail.tga + blendfunc GL_SRC_ALPHA GL_ONE + rgbGen lightingDiffuse + } +} +