add alpha blendering option (disabled by default) using w component of color
add low-level support function demo (test)
This commit is contained in:
@@ -44,6 +44,6 @@ static const char* useShadowMapInstancingFragmentShader= \
|
||||
" if (visibility<0.6)\n"
|
||||
" visibility=0.6f;\n"
|
||||
" \n"
|
||||
" color = vec4(ct * visibility, 1.f);//at * af); \n"
|
||||
" color = vec4(ct * visibility, fragment.color.w);\n"
|
||||
"}\n"
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user