This one line fixed VXGI

This commit is contained in:
mrq 2024-12-02 22:59:47 -06:00 committed by ecker
parent b81962a355
commit f817e1c372

View File

@ -131,7 +131,8 @@ for ( auto& p : m.primitives ) {
for ( size_t j = 0; j < attributes[name].components; ++j )\ for ( size_t j = 0; j < attributes[name].components; ++j )\
vertex.member[j] = attributes[name].floats[i * attributes[name].components + j] * floatScale;\ vertex.member[j] = attributes[name].floats[i * attributes[name].components + j] * floatScale;\
} else {\ } else {\
vertex.member = {};\ /*for some reason setting this breaks VXGI reflections*/\
/*vertex.member = {};*/\
} }
#endif #endif