Added support for Sampler1D

https://github.com/BeamNG/Torque3D/commit/3c8d0b21ae18d8050a5ba6b929a9d95413226cbe