Project

General

Profile

Feature #2105

Updated by skyjake almost 9 years ago

Define reflection cubemaps as map or setting-dependent. For instance for a Hexen Winnowing hall we can use a dark-blue sky cubemap with a stormy clouds, and after we came to Seven Portals we can use another cubemap with a reddish sky.

As a fallback, there could be a default neutral cubemap that is used if the map has no reflection cubemaps of its own.

Possibly one could define two cubemap variants for each map/area, one for objects in sectors with open sky, and one for indoor objects.

In practice, one would prepare the cubemap textures and then write some definitions that specify the maps (and regions of maps) where they will be used. The cubemaps would use a new asset identifier (something like @texture.environ.*@; @texture.env.reflect.*@; cf. @model.thing.*@).

Back