2025-08-31 09:12 CEST

spring: develop 92c8ae90 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
jk jk develop 2008-08-03 20:56:10 develop 86857d7d
Changeset BumpWater
* finished compability with cards that don't support GL_TEXTURE_RECTANGLE (in glsl shaders)
* update coastmap now on map damage
* mappers can now turn off shorewaves (tag is shoreWaves)
* added endless water (user can turn it off and the mapper needs to define a waterPlaneColor to get it working)
* added dynamic waves (don't confuse with DynWater!)
  * it uses a NoiseTileSet based water bump texture to reduce the repetition artifacts (next step would be WangTiles)
  * the new waterbump.png uses a 3x3 tileset
  * there is a new tag "numTiles", the default texture uses "3", if the mapper/modder defines a different bumptexture the default is "1" to not break backward compability (also only a few ppl would have the software to generate TileSets)

Engine
* fixed "cloaked units were invisble underwater" with DynWater and BumpWater(refraction=2)
* smoothed InMapDraw markers
* sm3 drawer respects /wireframe now
* cleaned up BasicMapDamage.cpp and fixed a bug ("<" -> "<=")

SMF Map Drawer
* cleaned up some code
* added detail factors for the different drawpasses. The new .springrc tags are (all should be in 0<x<=1 range):
 * GroundLODScaleReflection
 * GroundLODScaleUnitReflection
 (* GroundLODScaleRefraction unused atm)
* changed WaterPlane into a radial disc which blends into the fog color (BumpWater uses the same disc algorithm to render endless water)

LuaAPI
*fixed s3o recognition in LuaUnitDefs
*added the new reclaim/repair/capture/resurrect energyCosts values to the Game. table

git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@6230 37977431-3df6-0310-b722-df95706aa16b
mod - installer/builddata/bitmaps/bitmaps/waterbump.png Diff ] File ]
mod - 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/Game.cpp Diff ] File ]
mod - rts/Lua/LuaConstGame.cpp Diff ] File ]
mod - rts/Lua/LuaUnitDefs.cpp Diff ] File ]
mod - rts/Map/BaseGroundDrawer.cpp Diff ] File ]
mod - rts/Map/BaseGroundDrawer.h Diff ] File ]
mod - rts/Map/BasicMapDamage.cpp Diff ] File ]
mod - rts/Map/BasicMapDamage.h 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/SM3/Sm3GroundDrawer.cpp Diff ] File ]
mod - rts/Map/SM3/Sm3Map.cpp Diff ] File ]
mod - rts/Map/SM3/Sm3Map.h Diff ] File ]
mod - rts/Map/SM3/terrain/Terrain.cpp Diff ] File ]
mod - rts/Map/SMF/BFGroundDrawer.cpp Diff ] File ]
mod - rts/Map/SMF/BFGroundDrawer.h Diff ] File ]
mod - rts/Rendering/Env/BaseWater.h Diff ] File ]
mod - rts/Rendering/Env/BumpWater.cpp Diff ] File ]
mod - rts/Rendering/Env/BumpWater.h Diff ] File ]
mod - rts/Rendering/Env/DynWater.cpp Diff ] File ]
mod - rts/Rendering/Env/RefractWater.cpp Diff ] File ]
mod - rts/Rendering/GL/VertexArray.h Diff ] File ]
mod - rts/Rendering/InMapDraw.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/GroundMoveType.cpp Diff ] File ]