1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-04 03:45:33 +00:00

Merge pull request #3048 from akortunov/master

Fix formatting in the groundcover docs
This commit is contained in:
Andrei Kortunov 2021-03-05 14:29:40 +04:00 committed by GitHub
commit 7cc97297e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,8 +306,11 @@ For example, we do not need to have collision or animation objects for groundcov
do not need to render groundcover on the map, do not need to render it for the whole visible area (which can be very large with Distant Terrain). It allows to increase performance a lot.
General advices to create assets for this feature:
1. Alpha properties from Nif files are not used, a unified alpha settings are used (alpha testing, "greater of equal" function, 128/255 threshold).
2. Use a single NiTriShape in groundocver mesh, or at least use same properties (texture, alpha, material, etc), so OpenMW can merge them on the fly. Otherwise animations may not work properly.
3. Smooth fading does not work for meshes, which have textures without alpha (e.g. rock).
Groundcover mods can be registered in the openmw.cfg via "groundcover" entries instead of "content" ones: