Jump to content

Problem with shaders mod in vr (Oculus Rift)


Recommended Posts

Posted

When I install (copy) Kegetys shader mod and load a mission, I get this small "ring" on the edges of my view. Just as if the 2 lenzes are not completely in sync.

 

I made a poor attemt to take a screenshot of what I'm seeing:

 

picture.php?albumid=1313&pictureid=10199

 

Anyone have any idea what is happening and what I can do about it?

 

 

For now I just reset the shaders folder from a backup, but I'd really like to enjoy the performance gain of this mod.

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted

Sirrah the explaination for this and how and what to edit is in the readme.txt file that's in the mod.

(you have to increase "masksize" value in the _HMD file located here : \Bazar\shaders\deferred\ )

Posted

Ahh so that's what everybody was talking about!

 

Thanks for telling me. Sorry, I should have read the read me file :doh:

(Reading was never my strong point :P)

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted
I moved mine to 66 to remove the ring

 

Could you please point out to me, which of the values in the _HMD file should be changed :helpsmilie:

 

#define ENABLE_MASK 1

#define MASKSIZE 0.25f // change this to adjust the size of the mask, 0.525f seems to be ok for the Vive

#define MSAA_MASKSIZE 0.25f // Mask size used for MSAA - area outside this circle will not have MSAA applied on it

 

bool inVR()

{

// detect VR (off-center projection)

return any(gProj[2][0]);

}

 

void _discardHmdMask(float2 vpos, uint2 bufSize, float maskSize)

{

#if ENABLE_MASK

// poor man's invisible area mask for the Vive, similar to the mask from OpenVR SDK (DCS For some reason does not use it)

if (inVR())

{

float2 spos = vpos / (float2) bufSize;

if (distance(spos, float2(0.5 + gProj[2][0] / 2, 0.5)) > maskSize)

clip(-1);

}

#endif

}

 

uint2 getBufferSize(in TEXTURE_2D(uint2, buf))

{

uint2 bufSize;

#ifdef MSAA

uint samples;

buf.GetDimensions(bufSize.x, bufSize.y, samples);

#else

buf.GetDimensions(bufSize.x, bufSize.y);

#endif

return bufSize;

}

 

void discardHmdMask(float2 vpos, uint2 bufSize)

{

_discardHmdMask(vpos, bufSize, MASKSIZE);

}

 

void discardHmdMaskMSAA(float2 vpos, uint2 bufSize)

{

_discardHmdMask(vpos, bufSize, MSAA_MASKSIZE);

}

 

void discardHmdMaskWrite(float2 vpos)

{

#if ENABLE_MASK

#endif

}

 

I changed the 0.25 (bold) to 66, but that caused an error on DCS startup

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted
0.66f and save it

Ahh that explains

 

So... next "problem" :p

 

Since I've installed the shaders mod, my moving map on the hsi page is gone. Hsi itself seems to be working fine, but I just don't see the map. I tried Increasing and decreasing scale but that doesn't help

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted
In the harrier?? If so you have to do alignment or select pre aligned in the special tab in the options

 

 

Sent from my iPhone using Tapatalk

 

No, in the Hornet. But I reinstalled everything yesterday (including shaders mod) and all is working well now

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted

Havn't actually checked fps (not sure how to turn the fps counter on and off), but it feels better and also I think it looks better. As if there's better contrast orso

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

Posted
Havn't actually checked fps (not sure how to turn the fps counter on and off), but it feels better and also I think it looks better. As if there's better contrast orso

 

LCTRL + Pause/Break key will toggle fps counter.

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Posted
LCTRL + Pause/Break key will toggle fps counter.

 

Will check it later today

 

I Have to be carefull though as RCTRL + Scroll lock key (which I accidently pressed on more than one occasion while looking for the "home" key) makes DCS crash. That might also happen with the LCTRL combination...

System specs:

 

i7-8700K @stock speed - GTX 1080TI @ stock speed - AsRock Extreme4 Z370 - 32GB DDR4 @3GHz- 500GB SSD - 2TB nvme - 650W PSU

HP Reverb G1 v2 - Saitek Pro pedals - TM Warthog HOTAS - TM F/A-18 Grip - TM Cougar HOTAS (NN-Dan mod) & (throttle standalone mod) - VIRPIL VPC Rotor TCS Plus with ALPHA-L grip - Pointctrl & aux banks <-- must have for VR users!! - Andre's SimShaker Jetpad - Fully adjustable DIY playseat - VA+VAICOM - Realsimulator FSSB-R3

 

~ That nuke might not have been the best of ideas, Sir... the enemy is furious ~ GUMMBAH

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...