gradient texture not working as expected