update android and xcode projects, fix document title and change default resolution to 1024px
This commit is contained in:
@@ -112,10 +112,8 @@ void App::initShaders()
|
||||
" case 3: return blend_colorDodge(base, stroke, alpha_tot);"
|
||||
"}}\n"
|
||||
"void main(){\n"
|
||||
" mediump vec2 uv2 = gl_FragCoord.st / vec2(2048) * 20.0;\n"
|
||||
" mediump vec4 base = texture(tex, uv.xy);\n"
|
||||
" mediump vec4 stroke = texture(tex_stroke, uv.xy);\n"
|
||||
" mediump float stencil = pow(texture(tex_stencil, uv2).r, 8.0);\n"
|
||||
" stroke.a = mask ? stroke.a * alpha * blur(tex_mask, uv.xy).r : stroke.a * alpha;\n"
|
||||
|
||||
" if (!lock && base.a == 0.0) { frag = stroke; return; }\n"
|
||||
|
||||
Reference in New Issue
Block a user