One texture combined of two would be great for having flasher effects on primitives. My ideal solution would be to have multiple instead of just two, I could then do shadows/lights of insert lights on multiple primitives, but that would require more than 2. I was hoping on something like this (in invented code):
dim newtexture
newtexture = getimage("basetexture")
newtexture = overlayimage(newtexture, "shadow", "multiply", "50%") ' add shadow effect on primitive texture with a factor of 50%
newtexture = overlayimage(newtexture, "insertlighting1", "add", "20%") ' add light effect of first insert light with a factor of 20%
newtexture = overlayimage(newtexture, "insertlighting2", "add", "20%") ' add light effect of second insert light with a factor of 20%
newtexture = overlayimage(newtexture, "flasher1", "add", "100%") ' add light effect of a dome flasher with a factor of 100%
Rock6_lost_mine.image = newtexture
All images ("basetexture", "shadow", etc) to be loaded into vpx as normal.




Contributor
Top














are all trademarks of VPFORUMS.