Shaders mod for better VR performance (experimental) - Page 84 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 07-05-2019, 11:38 AM   #831
GVO
Junior Member
 
Join Date: Jan 2005
Location: Copenhagen, Denmark
Posts: 77
Default

I also got that error but if you replace (with original files) all the 3 glass-related files in bazar/shaders/model/
and
glass.hlsl in bazar/shaders/model/functions.

This worked for me at least

Edit: or remove them from the zip file before adding/overwriting
GVO is offline   Reply With Quote
Old 07-05-2019, 04:31 PM   #832
CaptYosi73
Junior Member
 
Join Date: Jun 2019
Location: Spain
Posts: 3
Default

Quote:
Originally Posted by modda View Post
Did you download the fix from my post #804 or the original kegetys?

Modda

Sent from my SM-G950F using Tapatalk

It works perfectly by following your instructions, as always. I am using the "DCS 2.5.5.33057 Open Beta" version.


Tested with the F-14


Regards
CaptYosi73 is offline   Reply With Quote
Old 07-05-2019, 11:28 PM   #833
The_Nephilim
Member
 
The_Nephilim's Avatar
 
Join Date: Nov 2008
Posts: 505
Default

Quote:
Originally Posted by GVO View Post
I also got that error but if you replace (with original files) all the 3 glass-related files in bazar/shaders/model/
and
glass.hlsl in bazar/shaders/model/functions.

This worked for me at least

Edit: or remove them from the zip file before adding/overwriting

That did fix the compile error thank you. But I did not get an increase in FPS
__________________
MSI Z270 SLI MotherBoard / Intel 7600K Kaby Lake @5.0ghz / Coolermaster 212x / 2 - Samsung 960 Evo RAID 0 / Asus 1080GTX OC / Corsair 32GB RAM / Samsung Odyssey Plus VR / HOTAS Cougar & MFD's
The_Nephilim is offline   Reply With Quote
Old 07-07-2019, 01:06 AM   #834
jaksen
Junior Member
 
Join Date: Jul 2019
Posts: 1
Default

Quote:
Originally Posted by The_Nephilim View Post
That did fix the compile error thank you. But I did not get an increase in FPS
Anyone having the same issue, there's a very simple solution to that. Please edit your glass.hlsl file (modded) and around line 164-167 add the following line:

Code:
#define viewportSize float2(MeltFactor.yz)

The code should look similar to that:


Code:
PS_OUTPUT_GLASS forward_ps_pass1(VS_OUTPUT input, uniform int Flags) {
	PS_OUTPUT_GLASS o;

	float4 colorMul, colorAdd;
	calcGlassColors(input, Flags, colorMul, colorAdd);

	o.colorMul = colorMul;
	o.colorAdd = colorAdd;

	return o;
}

#define viewportSize float2(MeltFactor.yz)

float4 forward_ps_pass_droplets(VS_OUTPUT input, uniform int Flags): SV_TARGET0 {

...
This solves the compile error and allows you to use the optimised version of shader.

PS. Confirmed that it works with 2.5.5.33184

Cheers!

Last edited by jaksen; 07-07-2019 at 01:08 AM.
jaksen is offline   Reply With Quote
Old 07-08-2019, 02:19 AM   #835
huligan
Senior Member
 
huligan's Avatar
 
Join Date: Apr 2015
Location: Майкоп
Posts: 1,385
Default

Thanks! Fine works at Rift S
MASKSIZE 0.600f
I use
DCS VR Shaders performance mod for 2.5.5.32299
with
#define viewportSize float2(MeltFactor.yz)
__________________
i5-4670K 4.5GHz | 16Гб DDR3 | MSI GTX1080ti GAMING X 11G | РУС vkb Gladiator Pro+РУД vkb Gametrix ECS+Пендали BRD-MS1 | Oculus Rift S
https://sites.google.com/site/skywolfkuban/
https://vk.com/paraplan_mkp

Last edited by huligan; 07-09-2019 at 07:44 AM.
huligan is offline   Reply With Quote
Old 07-08-2019, 03:48 AM   #836
msalama
Veteran
 
msalama's Avatar
 
Join Date: Apr 2008
Posts: 3,943
Default

Thanks Jaksen, that works perfectly
__________________
Huey probs & gripes? Do read the following please: https://forums.eagle.ru/attachment.p...1&d=1555258147
msalama is offline   Reply With Quote
Old 07-09-2019, 12:47 AM   #837
dcsil2pilot
Junior Member
 
Join Date: Jul 2018
Posts: 4
Default

Does post #804 work in MP? I loved this mod when it worked in MP, but now if it doesn't it's a no-go for me unfortunately.
dcsil2pilot is offline   Reply With Quote
Old 07-09-2019, 07:46 AM   #838
huligan
Senior Member
 
huligan's Avatar
 
Join Date: Apr 2015
Location: Майкоп
Posts: 1,385
Default

Quote:
Does post #804 work in MP?
Files from post #804 without add post #834 dos not works in last beta!!!
And
For MP need to remove from mod
Quote:
bazar/shaders/deferred/decoder.hlsl
bazar/shaders/deferred/gbuffer.hlsl
bazar/shaders/deferred/atmosphere.hlsl
bazar/shaders/deferred/shadows.hlsl
bazar/shaders/materialfactory/ils151.hlsl
bazar/shaders/model/functions/glass.hlsl
but I not tried in latest version
__________________
i5-4670K 4.5GHz | 16Гб DDR3 | MSI GTX1080ti GAMING X 11G | РУС vkb Gladiator Pro+РУД vkb Gametrix ECS+Пендали BRD-MS1 | Oculus Rift S
https://sites.google.com/site/skywolfkuban/
https://vk.com/paraplan_mkp

Last edited by huligan; 07-09-2019 at 07:55 AM.
huligan is offline   Reply With Quote
Old 07-11-2019, 08:43 PM   #839
Hippo
Member
 
Join Date: Nov 2008
Posts: 444
Default

Quote:
Originally Posted by modda View Post
There were even more changes needed since last OB 2.5.5.32299.
I've updated the dependencies in the Kegetys vr mod and it seems to be working at least on F/A-18, F-14B, Mig-21bis, M2000 Mirage, P-51D and A-10C.
I haven't tested what the FPS impact really is from vanilla DCS.

https://drive.google.com/open?id=1ps...nwoEYxNclQBzOH

EDIT: No doubt, with this mod I'm on pretty steady 45fps downtown Dubai at low altitude (some drops occurs when touching the streets). Without it it's more steady 30-35 with high's at 45.
thanks
__________________
System spec: Intel i7 8700K (3.7 / 4.7 GHz), Asus Prime Z370-A, Zotac GTX 1080 Ti 11GB GDDR5x Blower (1480 / 1582 MHz), 16GB Corsair Vengeance LPX Black (2x8GB) DDR4 PC4-25600 3200 MHz, Samsung 960 EVO 250 GB NVME M.2 SSD (system drive), Samsung 970 EVO 1 TB NVME M.2 SSD (games drive), AOC U3477PQU Monitor, Oculus Rift CV1, Saitek X52 Pro
Hippo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:24 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.