Cube Maps

From Unofficial EFPSE wiki Extended
Revision as of 12:48, 28 July 2023 by Pixelwolf (talk | contribs) (Created page with "thumb Cubemaps are needed to change texture for each face of a wall. To do that you need to create a special texture containing all necessary images. You can use this sample below: All textures should be rectangular and the mapping is as next (from top to bottom, if player looks up according to editor): * Top side * Left side, Front side (the one looking at player), Right side, Back side * Bottom side If you need to only change top and bottom sid...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cubemaps are needed to change texture for each face of a wall.

To do that you need to create a special texture containing all necessary images. You can use this sample below:

All textures should be rectangular and the mapping is as next (from top to bottom, if player looks up according to editor):

  • Top side
  • Left side, Front side (the one looking at player), Right side, Back side
  • Bottom side

If you need to only change top and bottom sides, it is recommended to use tall texture:

Top texture will become texture for main sides and the bottom one will become top and bottom sides of a block.

To use those textures just add them on map as usual.

The texture for doors looks the same with the top texture being door texture and the bottom one texture for the doorframe (see "Modifiers")