Water discussion and bumpwater smd tags
Posted: 11 Jan 2009, 15:14
Since we got bumpwater, I havent seen a comprehensive, mappers guide to using it, so I thought we should pool our efforts to make the best of this great new feature.
I asked jK about what new smd tags, he said it doesnt use the old water smd tags because the colors were all wrong. He linked me the svn commit of bumpwater, which only lists the tags, but doesnt provide an adequate description:
http://spring.clan-sy.com/websvn/listin ... =6124&sc=1
surfaceColor = (0.75f, 0.8f, 0.85f) -->
[WATER]
{
WaterSurfaceColor = 0.75 0.8 0.85;
}
My real issue is, that I have more or less no clue what these tags actually do. Ill be looking through them and tweaking them to find out, any help in this would be greatly appreciated.
Edit:
Added these tags to the smd wiki page, feel free to correct and update them:
http://spring.clan-sy.com/wiki/Maps:SMD
I asked jK about what new smd tags, he said it doesnt use the old water smd tags because the colors were all wrong. He linked me the svn commit of bumpwater, which only lists the tags, but doesnt provide an adequate description:
http://spring.clan-sy.com/websvn/listin ... =6124&sc=1
Now, the smd syntax of these is, for example:
*and the map options (new/changed marked with a *):
surfaceColor = (0.75f, 0.8f, 0.85f)
surfaceAlpha = 0.55f
*diffuseColor = (1.0f, 1.0f, 1.0f)
specularColor = groundSunColor
*specularPower = 20.0f (RENAMED!!! this was specularFactor before)
*specularFactor = 1.0f
*ambientFactor = 1.0f
*diffuseFactor = 1.0f
fresnelMin = 0.2f (0.0<x<=1.0)
fresnelMax = 0.7f (<1.0-fresnelMin)
fresnelPower = 4.0f
*reflectionDistortion = 1.0f
*blurBase = 2.0f
*blurExponent = 1.5f
*perlinStartFreq = 8.0f (those perlin.. influence the wave sizes)
*perlinLacunarity = 3.0f
*perlinAmplitude = 0.9f (0.0<x<=1.0)
surfaceColor = (0.75f, 0.8f, 0.85f) -->
[WATER]
{
WaterSurfaceColor = 0.75 0.8 0.85;
}
My real issue is, that I have more or less no clue what these tags actually do. Ill be looking through them and tweaking them to find out, any help in this would be greatly appreciated.
Edit:
Added these tags to the smd wiki page, feel free to correct and update them:
http://spring.clan-sy.com/wiki/Maps:SMD