mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-18 22:29:28 -07:00
Adjusting the textures, still not super happy with them but they can be replaced later
This commit is contained in:
@@ -4,8 +4,9 @@ const makePassTexture = (regl, halfFloat, mipmap) =>
|
||||
height: 1,
|
||||
type: halfFloat ? "half float" : "uint8",
|
||||
wrap: "clamp",
|
||||
minFilter: "mipmap",
|
||||
min: mipmap ? "mipmap" : "linear",
|
||||
mag: mipmap ? "mipmap" : "linear",
|
||||
mag: "linear",
|
||||
});
|
||||
|
||||
const makePassFBO = (regl, halfFloat) => regl.framebuffer({ color: makePassTexture(regl, halfFloat) });
|
||||
|
||||
Reference in New Issue
Block a user