Jump to content

Home

Waterfalls in Radiant


Nailrabbit

Recommended Posts

Sorry if this has already been asked before, but it's a major pain. I'm trying to do up a sewer system in JK2Radiant, and I want to have waterfalls - but I can't get the blasted things to work. All I get is a solid black and white grid texture where the waterfall should be.

 

Anyone able to help me out?

Link to comment
Share on other sites

  • 1 month later...

Try out a shader like this:

 

textures/yourmapname/waterfall

{

qer_editorimage textures/yourmapname/waterfall

surfaceparm nonsolid

surfaceparm trans

q3map_material water

q3map_nolightmap

cull none

deformvertexes normal 0.1 0.1

deformvertexes wave 64 sin 0 0.5 0.2 1

{

map textures/yourmapname/waterfall_env

tcMod Scroll 0 -2

blendFunc GL_DST_COLOR GL_ONE

rgbGen const ( 0.5 0.5 0.5 )

}

}

 

This part should be the name of the actual water texture you want to use //map textures/yourmapname/waterfall_env

 

And one last thing, if you wanted the water to look a little more dark and "dirty" (which i'm assuming you do, seeing as how its going to be in a sewer) try changing the blendFunc GL_DST_COLOR GL_ONE to blendFunc GL_DST_COLOR GL_ZERO

 

Hope that helped.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...