Skip to content
Snippets Groups Projects
Commit 9faca06a authored by Michael Heyde's avatar Michael Heyde
Browse files

some unrolling readded for performance

parent 62760ef2
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,6 @@ public class MultiVolumeRendererShaderSource extends AbstractShaderSource{
"#line "+Thread.currentThread().getStackTrace()[1].getLineNumber() + " 1",
"float["+scvMaxNumberOfVolumes+"] getVolumeValues(vec3 positions ){",
" float volumeValues["+scvMaxNumberOfVolumes+"];",
"#pragma optionNV(unroll none)",
" for(int i = 0; i < "+scvMaxNumberOfVolumes+"; i++){",
" vec3 normtexturePos = getCorrectedTexturePositions(positions,i);",
"",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment