We’ve made some small updates to how bump mapping (normal maps) work and wrote a nice simple documentation how to use bump mapping in our engine.
Advised reading: bump mapping (normal maps) in Castle Game Engine.
The default bump mapping is now
bmBasic, this is much more natural than previous
Using the parallax bump mapping is also easier now. Once you place the height map in the alpha channel of the normal map, just set
TCastleRenderOptions.BumpMappingto something like
bmSteepParallaxShadowingand optionally adjust
TCastleRenderOptions.BumpMappingParallaxHeight. See the docs.
Our old bump mapping example was completely reworked, to set up everything in the editor and is now much more straightforward. See examples/viewport_and_scenes/bump_mapping.