mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-16 21:39:29 -07:00
Exploring ways to preserve the vanilla JS browser demo without compromising on the bundle. Experimenting with embedding images in the bundle as data URIs
This commit is contained in:
@@ -6,8 +6,6 @@ import {
|
||||
makeBindGroup,
|
||||
makePass,
|
||||
} from "./utils.js";
|
||||
import bloomBlurShader from "../../shaders/wgsl/bloomBlur.wgsl";
|
||||
import bloomCombineShader from "../../shaders/wgsl/bloomCombine.wgsl";
|
||||
|
||||
// const makePyramid = makeComputeTarget;
|
||||
|
||||
@@ -56,8 +54,8 @@ export default ({ config, device }) => {
|
||||
}
|
||||
|
||||
const assets = [
|
||||
loadShader(device, bloomBlurShader),
|
||||
loadShader(device, bloomCombineShader),
|
||||
loadShader(device, "shaders/wgsl/bloomBlur.wgsl"),
|
||||
loadShader(device, "shaders/wgsl/bloomCombine.wgsl"),
|
||||
];
|
||||
|
||||
const linearSampler = device.createSampler({
|
||||
|
||||
Reference in New Issue
Block a user