no it won't. you schdör me. that's not hlsl standard code but max specific stuff. you should seriously read a beginner's tutorial about shaders.