mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 06:26:42 +01:00
- [Mac] Fix shader not have default pixel output.
This commit is contained in:
parent
447d1ffa96
commit
3dc115e7c9
1 changed files with 1 additions and 0 deletions
|
@ -129,5 +129,6 @@ void main() {
|
|||
float dist = sqrt(abs(d));
|
||||
vec4 c = sampleTexture(mix(uv, cen + uv / dist, str));
|
||||
|
||||
gl_FragColor = vec4(0.);
|
||||
if(d > trim) gl_FragColor = c;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue