Skipper Posted November 6, 2017 Share Posted November 6, 2017 We are looking at playing an animation in a loop, but at the end of the loop the animation pauses and the model fades out and simultaneously fades back in at the start point of the loop. How do we get the model to fade with transparency instead of the fizzle-fade type effect that you get when switching between LODs? Quote Link to comment Share on other sites More sharing options...
Duion Posted November 6, 2017 Share Posted November 6, 2017 I don't know of any game or engine that has a method for it, most just use the pop in without any fade. Quote Link to comment Share on other sites More sharing options...
Jason Campbell Posted November 7, 2017 Share Posted November 7, 2017 Check out this post:How to make a variable that affects alpha?http://forums.torque3d.org/viewtopic.php?f=10&t=991It involves engine changes but it appears that he added alpha as a variable, so you could literally add a little alpha, in increments, until it fades then remove alpha.the code is in his own reply to the thread.https://pastebin.com/xLYKEdkY Quote Link to comment Share on other sites More sharing options...
LukasPJ Posted November 7, 2017 Share Posted November 7, 2017 @Skipper the issue lies in the way Torque3D (and most modern engines) render models. The way it is rendered doesn't support transparent objects.Therefore, in order to have transparent objects, we have to render those objects in another, more simple, way called Forward Rendering. So if you truly want a transparency effect, then you either have to forward render that particular object or fake it somehow.This is why T3D employs the fizzle-fade technique, and why it isn't just a simple thing to implement. Quote Link to comment Share on other sites More sharing options...
Code_Man Posted February 12, 2018 Share Posted February 12, 2018 Not sure if this is the right topic, but i would like a similar features in material animations.Just like the scrolling of textures works, i would like a material to become less and more transparent.Not a big deal if its not straightforward to do, then id just live without it, but consider it something for the wishlist or whatever. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.