Skip to content
Snippets Groups Projects
Commit 26e17002 authored by Eric Wait's avatar Eric Wait
Browse files

Initial values in the Static Texture Material were not all set

parent acf5e4c6
Branches
Tags
No related merge requests found
......@@ -155,6 +155,8 @@ StaticVolumeTextureMaterial::StaticVolumeTextureMaterial(Renderer* rendererIn, V
setTransferFunction(i,Vec<float>(0.0f,1.0f,0.0f));
setRange(i,Vec<float>(0.0f,1.0f,0.0f));
setColor(i,colors[i%6],1.0f);
setAttenuationOn(false);
setLightOn(false);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment