Author Topic: Water shader  (Read 2548 times)

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Water shader
« on: October 04, 2006, 10:27:47 pm »
Where can i find a SHADER for water?
I look at the pulse ones, and only see textures, no white border?

∧OMG ENTROPY∧

DarkRogue

  • Posts: 308
  • Turrets: +0/-0
Water shader
« Reply #1 on: October 05, 2006, 12:29:29 am »
why not just make it?

Code: [Select]
textures/liquids/greenwater
{
// *************************************************
// * CALM GREEN WATER POOL Feb 19, 1998 *
// * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE *
//      * Large tesselations added on May 26, '99
// *************************************************

// Added to g3map_global texture on May 11, 1999
qer_editorimage textures/liquids/slime7.tga
qer_trans .5
q3map_globaltexture

surfaceparm trans
surfaceparm nonsolid
surfaceparm water
surfaceparm nolightmap

cull disable
tesssize 256
deformVertexes wave 256 sin 1 1 1 .1



{
map textures/liquids/slime7.tga
blendfunc GL_ONE GL_SRC_COLOR
tcMod scale .03 .03
tcMod scroll .001 .001
}

{
map textures/liquids/slime7c.tga
blendfunc GL_DST_COLOR GL_ONE
tcMod turb .1 .1 0 .01
tcMod scale .5 .5
tcMod scroll -.025 .02
}

{
map textures/liquids/bubbles.tga
blendfunc GL_ZERO GL_SRC_COLOR
tcMod turb .2 .1 .1 .2
tcMod scale .05 .05
tcMod scroll .001 .001
}

// END
}


IS the greenish water used in gloom3t, just a modified version of q3's liquid shader the surfaceparms the the important things to note.
n game name: Xiane

Lava Croft

  • Guest
Water shader
« Reply #2 on: October 05, 2006, 05:05:21 am »
Why not just open gloom2beta2.shader and steal the water shader from there?