Author Topic: What's wrong with my shader?  (Read 3464 times)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
What's wrong with my shader?
« 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

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

}

}

Thorn

  • Guest
What's wrong with my shader?
« Reply #1 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:

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
What's wrong with my shader?
« Reply #2 on: November 14, 2006, 08:38:29 pm »
Try again.

Thorn

  • Guest
What's wrong with my shader?
« Reply #3 on: November 14, 2006, 08:45:23 pm »
OMG ugh it looks like theres nodraw or caulk in the shader!!!  :O

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
What's wrong with my shader?
« Reply #4 on: November 14, 2006, 08:46:54 pm »
Actually  it's just a brush with that shader, nothing else.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
What's wrong with my shader?
« Reply #5 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.

gareth

  • Posts: 710
  • Turrets: +38/-89
What's wrong with my shader?
« Reply #6 on: November 15, 2006, 10:16:25 am »
caulked the non visible sides??