User Tools

Site Tools


asset-override

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
asset-override [2019/08/01 15:29] maximeasset-override [2019/09/26 17:09] (current) maxime
Line 1: Line 1:
 ====== Asset Override ====== ====== Asset Override ======
  
-All [[preview:assets|game assets]] (and other mods assets) can be override by mods, partially or totally.+All [[assets|game assets]] (and other mods assets) can be override by mods, partially or totally.
  
 The ''mod:override'' function should be used for that purpose. The ''mod:override'' function should be used for that purpose.
Line 53: Line 53:
 ===== FBX asset override ===== ===== FBX asset override =====
  
-You can now override the materials generated from textures when you import a 3D model. This can be useful for example to fix texture transparency issues for models created with Blender. All materials of a model can be found in a virtual directory under your model's file.+You can now override the materials generated from textures when you import a 3D model. This can be useful for example to enable Alpha Test for models created with Blender. All materials of a model can be found in a virtual directory under your model's file.
  
 For example, in the //Example 01// mod, there is a 3D model named ''fountain.fbx'' in the directory ''models'', and this model uses a texture named ''FountainColor.png''. For example, in the //Example 01// mod, there is a 3D model named ''fountain.fbx'' in the directory ''models'', and this model uses a texture named ''FountainColor.png''.
Line 65: Line 65:
     Id = "FOUNTAIN_COLOR_MATERIAL",     Id = "FOUNTAIN_COLOR_MATERIAL",
     HasAlphaTest = true     HasAlphaTest = true
 +})
 </file> </file>
  
asset-override.1564687745.txt.gz · Last modified: 2019/08/01 15:29 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki