This one line fixed VXGI
This commit is contained in:
parent
b81962a355
commit
f817e1c372
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user