Tremulous Forum

Media => Mapping Center => Topic started by: Odin on November 14, 2006, 08:24:14 pm

Title: What's wrong with my shader?
Post by: Odin on November 14, 2006, 08:24:14 pm
First of all, I'm trying to make a lava shader. I seem to be having a problem.
I have tried everything. I have even tried copying the same shaders and textures from Lava Croft's "Sokolov", which work in the map. I also tried taking the nexus6 "slime_s" shader and modified it to have lava textures, but it still looks crappy and it's still solid. Here's a screenshot:
lava shader messup (http://www.zergrushgogo.com/games/tremulous/base/screenshots/shot0127.jpg)

Here's the current shader:
Code: [Select]
textures/abyss/lava1

{

qer_editorimage textures/abyss/lava1.tga

q3map_lightimage textures/abyss/lava1.tga

q3map_globaltexture



surfaceparm noimpact

surfaceparm slime

surfaceparm nolightmap

surfaceparm trans



q3map_surfacelight 100

tessSize 32

cull disable



deformVertexes wave 100 sin 0 1 .5 .5



{

map textures/abyss/lava1c.tga

rgbGen const ( 0.5 0.5 0.5 )

blendfunc add

tcMod turb .3 .2 1 .05

tcMod scroll .01 .01

}



{

map textures/abyss/lava1.tga

rgbGen const ( 0.75 0.75 0.75 )

blendfunc add

tcMod turb .2 .1 1 .05

tcMod scale .5 .5

tcMod scroll .02 .01

}

}
Title: What's wrong with my shader?
Post by: Thorn on November 14, 2006, 08:26:45 pm
The requested URL /games/tremulous/screenshots/shot0127.jpg was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 :roll:
Title: What's wrong with my shader?
Post by: Odin on November 14, 2006, 08:38:29 pm
Try again.
Title: What's wrong with my shader?
Post by: Thorn on November 14, 2006, 08:45:23 pm
OMG ugh it looks like theres nodraw or caulk in the shader!!!  :O
Title: What's wrong with my shader?
Post by: Odin on November 14, 2006, 08:46:54 pm
Actually  it's just a brush with that shader, nothing else.
Title: What's wrong with my shader?
Post by: Odin on November 14, 2006, 08:51:38 pm
Ok, I just tried replacing that shader with the nexus6/slime_s shader(which is exactly the same as my lava shader, but with a different texture) and it works perfectly well.
Title: What's wrong with my shader?
Post by: gareth on November 15, 2006, 10:16:25 am
caulked the non visible sides??