fixed issue 81 with envmap
Fix for #81 (closed). The optix context was not well handled with changing the scene. In particular, compile option and variables were not correclty modified. It seems that #82 (closed) is caused by the same error.
Fix for #81 (closed). The optix context was not well handled with changing the scene. In particular, compile option and variables were not correclty modified. It seems that #82 (closed) is caused by the same error.