+ | New map portal and checkerboard

This commit is contained in:
TheRedShip
2025-02-18 23:26:35 +01:00
parent b3bc2cc659
commit 82240d02c1
7 changed files with 54 additions and 16 deletions

View File

@ -84,7 +84,7 @@ Ray newRay(hitInfo hit, Ray ray, inout uint rng_state)
mat = materials[hit.mat_index];
if (mat.type == 0)
if (mat.type == 0 || mat.type == 3)
return (lambertRay(hit, ray, mat, rng_state));
else if (mat.type == 1)
return (dieletricRay(hit, ray, mat));