From fdc2ab9421c6a38c6bbd9b621c4da4f2c147a773 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 6 Nov 2022 17:43:00 +0100 Subject: msdf font renderen --- web/pw-visualizer/src/assets.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/pw-visualizer/src/assets.ts') diff --git a/web/pw-visualizer/src/assets.ts b/web/pw-visualizer/src/assets.ts index 5fa5215..abd17e4 100644 --- a/web/pw-visualizer/src/assets.ts +++ b/web/pw-visualizer/src/assets.ts @@ -9,11 +9,16 @@ export {default as shipPng} from "../assets/res/ship.png"; export {default as fontPng} from "../assets/res/font.png"; +export {default as robotoMsdfPng} from "../assets/res/fonts/roboto.png"; +export {default as robotoMsdfJson} from "../assets/res/fonts/roboto.json"; + export {default as imageFragmentShader} from "../assets/shaders/frag/image.glsl?url"; export {default as maskedImageFragmentShader} from "../assets/shaders/frag/masked_image.glsl?url"; export {default as simpleFragmentShader} from "../assets/shaders/frag/simple.glsl?url"; export {default as vorFragmentShader} from "../assets/shaders/frag/vor.glsl?url"; +export {default as msdfFragmentShader} from "../assets/shaders/frag/msdf.glsl?url"; + export {default as imageVertexShader} from "../assets/shaders/vert/image.glsl?url"; export {default as simpleVertexShader} from "../assets/shaders/vert/simple.glsl?url"; -- cgit v1.2.3