Accessing texture mapping modifiers via script

All about the StoneScript

Accessing texture mapping modifiers via script

Postby VLens » 2019-04-11 13:38

Hey Everyone!

Is it possible to access material settings like "scrolling modifier" or "generation mode" via script?

Expert Boarder
Expert Boarder
Posts: 87
Joined: 2010-03-03 16:32
Location: Hungary

Re: Accessing texture mapping modifiers via script

Postby broozar » 2019-04-13 00:37

most of the material settings have overrides. scrolling for instance: ... lUVOffset/ same goes for map overrides etc.

however, shaders themselves (like switching between "noise" and "burst" and "bump") cannot be changed on the fly. if you want to change the material in such a fundamental way, you will have to duplicate your existing material in the editor and assign the new shader, then switch the material on the model subset through ... tMaterial/ - so you effectively have multiple materials with presets instead of one material that you apply overrides to.
User avatar
Posts: 4172
Joined: 2007-09-16 10:22
Location: Berlin - Germany

Return to Game programming

Who is online

Users browsing this forum: No registered users and 3 guests