mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-20 23:09:30 -07:00
Corrected the MSDF logic in the GLSL and WGSL shaders, which fixed the rendering in Chrome's software renderer.
This commit is contained in:
@@ -189,6 +189,10 @@ export default ({ regl, config, lkg }) => {
|
||||
baseTexture: baseTexture.texture,
|
||||
glintTexture: glintTexture.texture,
|
||||
|
||||
msdfPxRange: 4.0,
|
||||
glyphMSDFSize: [glyphMSDF.width(), glyphMSDF.height()],
|
||||
glintMSDFSize: [glintMSDF.width(), glintMSDF.height()],
|
||||
|
||||
camera: regl.prop("camera"),
|
||||
transform: regl.prop("transform"),
|
||||
screenSize: regl.prop("screenSize"),
|
||||
|
||||
Reference in New Issue
Block a user