X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fvehicles.shader;h=2d4d606752fc7f79cb8b72a068b62368a9cbc68e;hb=0e11fe379dc3d256b0041886893a0e35b70c86d9;hp=b8f0b0ca88b1a309e745be6b5b0f42ac07fc05ee;hpb=4cdb193503b8a1e6c77437ca35a6824e8508eaea;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 + } +} +