Use proper mipmaps for distortion shader
This commit is contained in:
@@ -259,6 +259,9 @@ int inner_main(int argc, char * argv[], bool use_systemd, bool show_instructions
|
||||
// there is no need for oversampling.
|
||||
setenv("XRT_COMPOSITOR_SCALE_PERCENTAGE", "100", false);
|
||||
|
||||
// Enable mipmaps for distortion
|
||||
setenv("XRT_DISTORTION_MIP_LEVELS", "0", false);
|
||||
|
||||
// FIXME: synchronization fails on gfx pipeline
|
||||
setenv("XRT_COMPOSITOR_COMPUTE", "1", true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user