-
-
Notifications
You must be signed in to change notification settings - Fork 3
Feature: Shader Maps
Aviril edited this page Nov 29, 2024
·
2 revisions
- Configure your shader-maps'
clumpconfig as below structured. - All clump related shader-maps should be located under
files/assets/assetType/assetName/map/clump/."shaderMaps": { "clump": { "yourTextureName1": [ "clump/upper/tshirt/1.jpg", "clump/upper/tshirt/2.jpg", "clump/upper/tshirt/3.jpg" ], "yourTextureName2": [ "clump/upper/hoody/1.jpg", "clump/upper/hoody/2.jpg", "clump/upper/hoody/3.jpg" ], "yourTextureName3": [ "clump/lower/trouser/1.png" ], "yourTextureName4": [ "clump/lower/pant/1.jpg", "clump/lower/pant/2.jpg", "clump/lower/pant/3.jpg" ], "yourTextureName5": [ "clump/shoes/sneakers/1.png", "clump/shoes/sneakers/2.png" ] } }
- Configure your shader-maps'
controlconfig as below structured. - Incase if you are using multiple control maps per asset texture, layering follows the top -> bottom principle.
- Its optional to use omit/use any channel you want to use per control [
red,green,blue]. - Bump for specified channel/control should be attached under
bump. - All control/bump related shader-maps should be located under
files/assets/assetType/assetName/map/control/."shaderMaps": { "control": { "yourTextureName1": [ { "control": "control/yourTextureName/road/control.png", "bump": "control/yourTextureName/road/bump.png", "red": {"map": "control/texture/grass/2/albedo.jpg", "bump": "control/texture/grass/2/bump.jpg", "scale": 600} }, { "bump": "control/yourTextureName/bump.jpg", "red": {"map": "control/texture/sand/1/albedo_50a.png", "scale": 600}, "green": {"map": "control/texture/grass/1/albedo.jpg", "bump": "control/texture/grass/1/bump.jpg", "scale": 600}, "blue": {"map": "control/texture/sand/1/albedo_50a.png", "scale": 600} } ] } }