NodeRGBA is deprecated. so the render-texture way was not working before.
Fixed. !