mirror of
https://github.com/servo/servo.git
synced 2025-08-29 00:58:20 +01:00
Update shaders for sampler names, copy new text-shadow shaders.
This commit is contained in:
parent
db357b0334
commit
9991e0674b
18 changed files with 219 additions and 10 deletions
|
@ -28,5 +28,5 @@ void main(void) {
|
|||
vec2 st = vTextureOffset + ((position_in_tile / vStretchSize) * vTextureSize);
|
||||
alpha = alpha * float(all(bvec2(step(position_in_tile, vStretchSize))));
|
||||
|
||||
oFragColor = texture(sDiffuse, st) * vec4(1, 1, 1, alpha);
|
||||
oFragColor = texture(sColor0, st) * vec4(1, 1, 1, alpha);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue