Adjusting the textures, still not super happy with them but they can be replaced later

This commit is contained in:
Rezmason
2022-09-19 20:41:23 -07:00
parent 5f544091a9
commit fb16a9b855
6 changed files with 5 additions and 5 deletions

View File

@@ -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) });