Shaders from ShaderFX (3dsmax) to PlayCanvas

On my search for a nodebased shadereditor for PlayCanvas I tried ShaderFX from 3DSMax which can export to GLSL.
May this code be used/corrected to be compatible with PlayCanvas?

GLSL-Code from ShaderFX

Thanks
Carsten

first of all: any attribute and uniform names must match playcanvas built-in semantics (which means if you want to render regular model asset, your shader should have attributes and uniforms names and sizes matching Phong or Physical material)