diff --git a/Effects/projection.eff b/Effects/projection.eff index 7ceba5de3..85a8cf3a5 100644 --- a/Effects/projection.eff +++ b/Effects/projection.eff @@ -6,12 +6,9 @@ /surround/vfov /surround/auto-vfov /surround/enable-overlay - /surround/testx - /surround/testy - /surround/testz - + /sim/current-view/raw-orientation[2] /sim/startup/xsize diff --git a/Shaders/projection.frag b/Shaders/projection.frag index b972e664d..6203403cb 100644 --- a/Shaders/projection.frag +++ b/Shaders/projection.frag @@ -63,7 +63,7 @@ void main(void) rayt = rot3d(ray, vec3(1.0, 0.0, 0.0), i_rot_x); rayt = rot3d(rayt, vec3(0.0, 1.0, 0.0), i_rot_y); rayt = rot3d(rayt, vec3(0.0, 0.0, 1.0), i_rot_z); - ray = rot3d(ray, vec3(i_rot_x, i_rot_y, i_rot_z), 1.0); +// ray = rot3d(ray, vec3(i_rot_x, i_rot_y, i_rot_z), 0.0); vec4 ret = textureCube( iChannel0, ray ); if (enable_overlay == 1) diff --git a/defaults.xml b/defaults.xml index ca127f77f..aeb893282 100644 --- a/defaults.xml +++ b/defaults.xml @@ -1490,13 +1490,5 @@ Started September 2000 by David Megginson, david@megginson.com 5.0 - - 180 - 1 - 0 - 0.0 - 0.0 - 0.0 -