Notifications
                
            
                Clear all
    
            
        [Closed] Time parameter for hlsl shaders?
Dec 08, 2010 11:30 am
                      Hey guys!
I want to create a directX shader for 3dsmax that modifies vertices based on time – like a wave motion.
For this I need to pass the time to the shader as a constant.
I couldn’t find any examples of how to pull this off in 3dsmax however.
Does anybody have experience with this?
Thanks!
-Sascha
                             1 Reply                        
                    Dec 08, 2010 11:30 am
                      Actually it seem that the sliderTime can be accessed through this:
 float Time : TIME ;
Can I also access realtime?
I feel like I’m overlooking something – is there a good documentation for HLSL in 3dsmax?