Jump to content

Shader Trouble


Recommended Posts

I can't get a certain very realistic water shader to work in my Kashyyyk map.  I was borrowing some textures and shaders from Sith-J-Cull's Kashyyyk map, but I am still unable to get the realistic water shader to work.  In his map, the water is very realistic, yet when I use the same exact shader in my map, it appears way too reflective and stretched out, like stretched or smeared glass.  I'm not talking about the waves that come up onto the shore, (I already figured out how to do that using patches) I am talking about the main water.

Here's a link to a demonstration video of Sith-J-Cull's Kashyyyk map ->

Link to comment

Lol, yeah sure, here is what the .shader file looks like

textures/Asjc_kashyyyk/water_surface1


{

qer_editorimage textures/Asjc_kashyyyk/water1
qer_trans 0.75
sort banner
surfaceparm water
surfaceparm nonsolid
surfaceparm nomarks
surfaceparm trans
q3map_material water
q3map_tessSize 512
deformvertexes normal 0.1 0.1
deformvertexes wave 100 sin 1 2 2 0.6

{

map textures/Asjc_kashyyyk/waterenvmap1
tcGen environment
blendFunc GL_ONE GL_ONE
}
{

map textures/Asjc_kashyyyk/skyenvmap1
tcGen environment
blendFunc GL_DST_COLOR GL_ZERO
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO

}
{
map textures/Asjc_kashyyyk/skyenvmap1_sun
tcGen environment
rgbGen const ( 1.00 0.95 0.79 )
blendFunc GL_ONE GL_ONE
glow
}
}

 

 

Unfortunately, I do not have a screenshot to show you.  This is only because I already used an alternate water texture on the map, and the compilation process takes hours

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...