The texture and ubo weren't using references. So they could be referenced before creation. The ray direction was also inverted.
The texture and ubo weren't using references. So they could be referenced before creation. The ray direction was also inverted.