A DX9 shader problem in 3dsMax

hi,guys.
I wrote a DX9 shader in 3dsMax. I found a problem. When I wrote “float ftime: TIME;”, the object used this material will show ghosting while it’s moving. How to fix this problem? Thanks.

I don’t have access to Max at the moment, so please bear my vague description taken from memory:

You need to go to customize>settings>viewport configuration, then click the drivers button. There’s a checkbox or two here that say something to the effect of “constant update” or “update viewport”.

Edit: It’s Customize>Preferences>Viewports>Configure Driver and the checkbox is “redraw scene on window expose”

:D:It works. Thank you very much.

Yeah, this one drove me nuts when I was working in ShaderFX. I just had to dig around in the settings hoping that would work, glad it worked for you too.