2025-08-29 14:45 CEST

spring: develop 752bd826 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
jk jk develop 2008-07-08 23:15:39 develop 6f795238
Changeset *fixed some displaylists/textures weren't deleted on shutdown
*reduce # of PBOs in BFGroundTextures (30->10)
*removed some unused variables in BFGroundTextures
*use fastmath in BFGroundTextures
*updated BumpWater:
  *it uses now a screen depth copy to blend stuff much smoother
  *use FBOs for everything (and use CTT as fallback)
  *fixed BumpWaterRefraction=2 mode (mode 1 uses a screen copy (fast), mode 2 uses an own render pass, so underwater particles are distorted and there isn't a ghost distortion around units above the water)
  *cleaned up shader
  *added BumpWaterBlurReflection option
  *added preview version of shorewaves (still not finished, it seems I am hitting a hardware limit of my 7600GT)
  *added many new map options
  *RENAMED some user options / map options!

  *so there are the following user options (default in brackets):
    BumpWaterTexSizeReflection = 32,64,128,(256),512,1024,2048
    BumpWaterReflection = 0,(1)
    BumpWaterRefraction = 0:=off, (1):=screencopy, 2:=own rendering pass
    BumpWaterShoreWaves = (0),1
    BumpWaterAnisotropy = (0.0) - 12.0
    BumpWaterUseDepthTexture = 0,(1)
    BumpWaterDepthBits = 16,(24),32
    BumpWaterBlurReflection = (0),1

  *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)

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@6124 37977431-3df6-0310-b722-df95706aa16b
mod - installer/builddata/bitmaps/README.txt Diff ] File ]
add - installer/builddata/bitmaps/bitmaps/shorewaverand.bmp Diff ] File ]
add - installer/builddata/springcontent/shaders/bumpWaterCoastBlurFS.glsl Diff ] File ]
mod - installer/builddata/springcontent/shaders/bumpWaterFS.glsl Diff ] File ]
mod - installer/builddata/springcontent/shaders/bumpWaterVS.glsl Diff ] File ]
mod - rts/Game/Camera.cpp Diff ] File ]
mod - rts/Lua/LuaMaterial.cpp Diff ] File ]
mod - rts/Map/MapInfo.cpp Diff ] File ]
mod - rts/Map/MapInfo.h Diff ] File ]
mod - rts/Map/ReadMap.h Diff ] File ]
mod - rts/Map/SMF/BFGroundTextures.cpp Diff ] File ]
mod - rts/Map/SMF/BFGroundTextures.h Diff ] File ]
mod - rts/Map/SMF/SmfReadMap.cpp Diff ] File ]
mod - rts/Rendering/Env/BumpWater.cpp Diff ] File ]
mod - rts/Rendering/Env/BumpWater.h Diff ] File ]
mod - rts/Rendering/GL/FBO.cpp Diff ] File ]
mod - rts/Rendering/GL/myGL.cpp Diff ] File ]
mod - rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp Diff ] File ]
mod - rts/System/GlobalStuff.h Diff ] File ]
mod - rts/System/SpringApp.cpp Diff ] File ]
mod - rts/System/SpringApp.h Diff ] File ]