Hi all,
Is there any way to turn on/off vertex lighting everywhere using Lighting.j3md without modifying every material?
We’ve got a settings screen and lighting low/high is one of the options but ideally I’d like to apply the change globally when they select the option…
Thanks,
Z
Nope there isn’t, you have to toggle on each material
Just thought I would throw in my two cents…
You really should develop a material manager of some sort. This won’t be the last time you run into an issue where you’ll need to edit either a) all materials or b) all materials of a certain type. Since you’re probably already using the same instance of a material for multiple objects, creating a wrapper class for managing these can’t hurt.
If you do (which should take a total of 10 minutes of your time), then the answer is yes.
It’s not as simple as that since each different card needs a different material. However I do already have central material and card information so I am able to make the adjustments when needed.
@zarch said:
It's not as simple as that since each different card needs a different material.
uh? what do you mean? your material are targeted to some hardware?
Card as in in-game card, not card as in Graphics Card
oh…ok i need rest…