osgjs icon indicating copy to clipboard operation
osgjs copied to clipboard

Useless (unused) shader compiler

Open stephomi opened this issue 9 years ago • 1 comments

When we create a viewer, when the run() function is called, it creates a shader without material, triggered by

https://github.com/cedricpinson/osgjs/blob/develop/sources/osgViewer/Renderer.js#L193

The shader is not send to the cg and is not used, so it's not really a problem but maybe we can prevent the useless code execution

stephomi avatar Sep 09 '15 09:09 stephomi

if we comment the state.apply() from https://github.com/cedricpinson/osgjs/issues/399, it works

stephomi avatar Sep 17 '15 13:09 stephomi