Enabled blending to all but iso surface shader.
Changed the alpha value of the iso surface colour to 1.0
This commit is contained in:
@@ -108,8 +108,9 @@ char volume_iso_frag[] = "uniform sampler3D baseTexture;\n"
|
||||
" color.y = lightScale;\n"
|
||||
" color.z = lightScale;\n"
|
||||
" }\n"
|
||||
" \n"
|
||||
" if (color.w>1.0) color.w = 1.0; \n"
|
||||
"\n"
|
||||
" color.a = 1.0;\n"
|
||||
"\n"
|
||||
" gl_FragColor = color;\n"
|
||||
" \n"
|
||||
" return;\n"
|
||||
@@ -124,4 +125,5 @@ char volume_iso_frag[] = "uniform sampler3D baseTexture;\n"
|
||||
"\n"
|
||||
" // we didn't find an intersection so just discard fragment\n"
|
||||
" discard;\n"
|
||||
"}\n";
|
||||
"}\n"
|
||||
"\n";
|
||||
|
||||
Reference in New Issue
Block a user