+ | Texture better coede

This commit is contained in:
TheRedShip
2025-01-28 22:28:35 +01:00
parent ae83d7d9f1
commit 23f2a9a5c6
5 changed files with 5 additions and 9 deletions

View File

@ -80,10 +80,8 @@ Ray transparencyRay(hitInfo hit, Ray ray, GPUMaterial mat, inout uint rng_state)
Ray newRay(hitInfo hit, Ray ray, inout uint rng_state)
{
GPUObject obj;
GPUMaterial mat;
obj = objects[hit.obj_index];
mat = materials[hit.mat_index];
if (mat.type == 0)