floodfill fix tex-normal; cleanup

This commit is contained in:
NULL511
2024-05-02 14:36:06 -04:00
parent 4814cbb666
commit 5eca39a611
3 changed files with 6 additions and 73 deletions

View File

@ -1268,8 +1268,8 @@ void main() {
#endif
#ifdef IS_LPV_ENABLED
vec3 lpvPos = GetLpvPosition(feetPlayerPos) + 0.5*viewToWorld(FlatNormals);
// vec3 lpvPos = GetLpvPosition(feetPlayerPos) - 0.5*FlatNormals + slopednormal;
// vec3 lpvPos = GetLpvPosition(feetPlayerPos) + 0.5*viewToWorld(FlatNormals);
vec3 lpvPos = GetLpvPosition(feetPlayerPos) - 0.5*viewToWorld(FlatNormals) + slopednormal;
#else
const vec3 lpvPos = vec3(0.0);
#endif