Any way to make a multiblend material?
Archie
Antarctica Join Date: 2006-09-19 Member: 58028Members, Constellation, Reinforced - Supporter, WC 2013 - Supporter
Just wondering if there is anyway to have a .material file similar to that of valves games, so say i can blend special materials into one another and have them come out looking much better? would be nice to have this feature inside spark editor.
something similar to this, or is there anyway around it to say if i wanted to specify multiple states for it.
something similar to this, or is there anyway around it to say if i wanted to specify multiple states for it.
"MultiBlend" { "%keywords" "dota" "%tooltexture" "test/terraintest-1" "$basetexture4" stone/stone_path007 "$spectexture4" stone/stone_path007_spec "$scale4" 3.0 "$rotation4" 55.0 "$basetexture3" stone/stone_path008 "$spectexture3" stone/stone_path008_spec "$scale3" 1.75 "$rotation3" -15.0 // "$basetexture3" nature/blood_00 // "$spectexture3" nature/blood_00_spec // "$scale3" 3.0 // "$rotation3" 55.0 "$basetexture2" nature/sand_cracked001 "$spectexture2" nature/sand_cracked001_spec "$scale2" 3.0 "$rotation2 " 0.0 "$basetexture" stone/stone_path006 "$spectexture" stone/stone_path006_spec "$scale" 3.0 "$rotation" 55.0 "$fow" "_rt_fog_of_war" }
Comments
I think it could be done, you'd just have to write your own shader for it. Also keep in mind that Spark only supports one set of texture coordinates, but if it's for static geo you could fake it sort of by using the world-space position. Take a look at this: http://forums.unknownworlds.com/discussion/137654/nifty-greybox-auto-material