How to replace tree shaders with LUA script

Your forum for all discussions around Modding.
haker146
Posts: 7
Joined: Fri Jun 10, 2022 11:32 am

How to replace tree shaders with LUA script

Post by haker146 »

Hey, I'm struggling with such a problem, I would like to replace tree shaders in a separate mod using LUA, specifically treeBillboardShader.xml and treeBranchShader.xml
The paths to these files are in the map.i3d file. Now my question, does anyone know how to replace these files with a lua script that would be loaded as a mod??