Tremulous Forum

Media => Mapping Center => Topic started by: Paradox on October 04, 2006, 10:27:47 pm

Title: Water shader
Post by: Paradox 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?
Title: Water shader
Post by: DarkRogue 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.
Title: Water shader
Post by: Lava Croft on October 05, 2006, 05:05:21 am
Why not just open gloom2beta2.shader and steal the water shader from there?