krigulv Posted May 24, 2013 Share Posted May 24, 2013 not sure if this is the right place for thisI was thinking something that would be neat to have is dynamic spec map changing via scripting. My idea is that while it's raining, models would change their normal map to one that has a shinier spec map.Anyone know if this is possible or have any ideas as to how it would be done? Link to comment Share on other sites More sharing options...
luthienanarion Posted May 28, 2013 Share Posted May 28, 2013 That sounds possible to me, actually, assuming that the SwapTexture command loads all maps. I think it does, but I have not tested it to make sure. You'll have to know the NiTriShape name for the model you want to apply the effect to (which makes this a nightmare to implement on a large number of objects) and create copies of the textures with a different name with the changed normal maps (which contain the spec map as the alpha layer). Either run a script on the object or use a ref-walk when changing cells to check for rainy weather and swap the textures. If you were to apply this to everything, the amount of work involved would make you question the sanity of doing it in the first place. Link to comment Share on other sites More sharing options...
Recommended Posts