OpenKeeper icon indicating copy to clipboard operation
OpenKeeper copied to clipboard

Convert bump maps (height maps) to normal maps

Open tonihele opened this issue 9 years ago • 7 comments

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 avatar Jul 21 '15 14:07 tonihele

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

tonihele avatar Jul 21 '15 17:07 tonihele

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

shot0005 shot0006

ufdada avatar Jul 27 '15 18:07 ufdada

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

ufdada avatar Sep 04 '16 10:09 ufdada

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

ArchDemons avatar Sep 04 '16 10:09 ArchDemons

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

tonihele avatar Sep 04 '16 13:09 tonihele

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 avatar Jan 31 '22 16:01 Trass3r

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

Trass3r avatar Apr 12 '23 04:04 Trass3r