TeamWisp / WispRenderer

RTX Ray Tracing Renderer, made by Y3 students at Breda University of Applied Science
https://teamwisp.github.io
Apache License 2.0
202 stars 14 forks source link

Throw on texture load fail #368

Closed MeineZ closed 5 years ago

MeineZ commented 5 years ago

In WispForMaya, we have to catch when a texture failed to load. A LOGC triggers a debug break which WispForMaya can't catch. I changed this to LOGE (so it still outputs the error) and it now returns an invalid texture handle. So, whenever a texture failed to load, WispForMaya can catch it and handle it accordingly.