tonihele / OpenKeeper

Dungeon Keeper II remake
GNU General Public License v3.0
432 stars 41 forks source link

Convert bump maps (height maps) to normal maps #60

Open tonihele opened 9 years ago

tonihele commented 9 years ago

Convert bump maps (height maps) to normal maps. This can be done in AssetConversion. Data\EngineTextures\ contains EnvMaps & bump maps for water & lava. Only normal maps are supported by JME. We should use these always, not optionally like DK II did.

tonihele commented 9 years ago

Well, actually they are butt ugly :D So maybe just try to support the regular + bump + modern water. Lava is decent.

ufdada commented 9 years ago

i actually wouldn't use the bump water in any way, since every selfmade one today is way better than this.

shot0005 shot0006

ufdada commented 8 years ago

I tried to convert it by hand via blender, but it doesn't look that pretty. lava0_n

image

Here is the tutorial that i used: https://www.youtube.com/watch?v=-hgEtq3gYM0

ArchDemons commented 8 years ago

It is necessary to wait for the normal lighting, I think.

tonihele commented 8 years ago

https://github.com/tonihele/OpenKeeper/tree/experimental-light here some real lightning, though I wouldn't know if it is the "final solution".

Trass3r commented 2 years ago

FWIW JME has built-in water support. A simple reflection-based one (which does require something like a skybox to reflect though): https://wiki.jmonkeyengine.org/docs/3.4/core/effect/water.html Untitled And and a post-processing effect: https://wiki.jmonkeyengine.org/docs/3.4/core/effect/post-processor_water.html Untitled2

Trass3r commented 1 year ago

https://github.com/tonihele/OpenKeeper/compare/master...Trass3r:OpenKeeper:water

https://github.com/tonihele/OpenKeeper/blob/f63cfdd679228f75769e2f14a3aae8621c8d14e8/src/toniarts/openkeeper/view/map/Water.java#L140