Dying Light
  16 / 53    
[quote="DHR"]I just remove the dust to my old mathematic books....and the correction for shadows seems to have a Exponential Decay equation (y = a * b^X), where b is between 0 and 1, and X is convergence....how in the hell i can do "b^X" in HLSL Shader 5? example, like this: [code]... 0.5^stereo.y[/code] THANKS bo3b and DarkStarSword...i will use that version and test. [/quote] You can use the 'pow' intrinsic function. https://msdn.microsoft.com/en-us/library/windows/desktop/bb509636(v=vs.85).aspx Should work like: [i]result = pow(0.5, stereo.y)[/i] Also, in HLSL, the variables can be named anything you want. With more complicated expressions, you will probably be better off to make it 'convergence' instead of 'stereo.y' for clarity.
DHR said:I just remove the dust to my old mathematic books....and the correction for shadows seems to have a Exponential Decay equation (y = a * b^X), where b is between 0 and 1, and X is convergence....how in the hell i can do "b^X" in HLSL Shader 5? example, like this:

... 0.5^stereo.y



THANKS bo3b and DarkStarSword...i will use that version and test.

You can use the 'pow' intrinsic function.


https://msdn.microsoft.com/en-us/library/windows/desktop/bb509636(v=vs.85).aspx


Should work like:

result = pow(0.5, stereo.y)


Also, in HLSL, the variables can be named anything you want. With more complicated expressions, you will probably be better off to make it 'convergence' instead of 'stereo.y' for clarity.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

Posted 02/07/2015 12:17 PM   
@Helifax Hey :)! How do you get 40 fps en 3d surround??? i have SLI of GTX980 and in indoors i have 25-30fps and outdoors 15-20fps, change video options no difference...?¿?¿ grafic cards are at 40-50%, i use the last drivers... can you share your config? pleease :)
@Helifax

Hey :)!

How do you get 40 fps en 3d surround??? i have SLI of GTX980 and in indoors i have 25-30fps and outdoors 15-20fps, change video options no difference...?¿?¿ grafic cards are at 40-50%, i use the last drivers...

can you share your config? pleease :)

i7 4970k@4.5Ghz, SLI GTX1080Ti Aorus Gigabyte Xtreme, 16GB G Skill 2400hrz, 3*PG258Q in 3D surround.

Posted 02/07/2015 01:09 PM   
actuall y i changed "z" parameter - it is obviously, but no effect
actuall y i changed "z" parameter - it is obviously, but no effect

Posted 02/07/2015 01:09 PM   
bo3b, I can use it like this? [code]r1.x -= stereo.x * (-r1.z - stereo.y)/2 * stereo.y * 1.5 * pow (0.5,stereo.y);[/code] is an example.
bo3b,

I can use it like this?

r1.x -= stereo.x * (-r1.z - stereo.y)/2 * stereo.y * 1.5 * pow (0.5,stereo.y);


is an example.

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

Posted 02/07/2015 01:15 PM   
@murilladas: Which Cpu are you running? Whats about your Vram usage? Check your stats Via fraps, Msiafterburner and hwinfo64
@murilladas:

Which Cpu are you running?

Whats about your Vram usage?

Check your stats Via fraps, Msiafterburner and hwinfo64
Posted 02/07/2015 01:24 PM   
[quote="ronrebell"]@murilladas: Which Cpu are you running? Whats about your Vram usage? Check your stats Via fraps, Msiafterburner and hwinfo64 [/quote] Hi :) i use a i7 3770k@4.5 and the game use 3500-3900MB vram of 4GB available
ronrebell said:@murilladas:

Which Cpu are you running?

Whats about your Vram usage?

Check your stats Via fraps, Msiafterburner and hwinfo64


Hi :)

i use a i7 3770k@4.5 and the game use 3500-3900MB vram of 4GB available

i7 4970k@4.5Ghz, SLI GTX1080Ti Aorus Gigabyte Xtreme, 16GB G Skill 2400hrz, 3*PG258Q in 3D surround.

Posted 02/07/2015 01:32 PM   
[quote="murilladas"][quote="ronrebell"]@murilladas: Which Cpu are you running? Whats about your Vram usage? Check your stats Via fraps, Msiafterburner and hwinfo64 [/quote] Hi :) i use a i7 3770k@4.5 and the game use 3500-3900MB vram of 4GB available[/quote] My Surround Rig is in my signature. I can show you the settings: - See attached image [img]https://forums.geforce.com/cmd/default/download-comment-attachment/63377/[/img] - The fps varies from 20 fps to 40 fps in 3D mode based on location it seems... (I haven't played much, still on the 1st mission) - I do get a very weird flickering. Anyone else noticed this? - I also noticed the GPUs nor the CPU running at 99% so it doesn't seem to be a Hardware bottleneck [img]https://forums.geforce.com/cmd/default/download-comment-attachment/63378/[/img]
murilladas said:
ronrebell said:@murilladas:

Which Cpu are you running?

Whats about your Vram usage?

Check your stats Via fraps, Msiafterburner and hwinfo64


Hi :)

i use a i7 3770k@4.5 and the game use 3500-3900MB vram of 4GB available


My Surround Rig is in my signature. I can show you the settings:
- See attached image
Image
- The fps varies from 20 fps to 40 fps in 3D mode based on location it seems... (I haven't played much, still on the 1st mission)
- I do get a very weird flickering. Anyone else noticed this?
- I also noticed the GPUs nor the CPU running at 99% so it doesn't seem to be a Hardware bottleneck

Image

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 02/07/2015 01:44 PM   
@Helifax Thanks for answer :) Your cpu is better than mine but 20fps of difference???? My Cpu is at 72% and GPUS at 40-50% so it doesn't seem to be a Hardware bottleneck, the problem is in other side...:(
@Helifax

Thanks for answer :)

Your cpu is better than mine but 20fps of difference???? My Cpu is at 72% and GPUS at 40-50% so it doesn't seem to be a Hardware bottleneck, the problem is in other side...:(

i7 4970k@4.5Ghz, SLI GTX1080Ti Aorus Gigabyte Xtreme, 16GB G Skill 2400hrz, 3*PG258Q in 3D surround.

Posted 02/07/2015 02:01 PM   
Sometimes Surround is using sli potential way better then conventional sigle screen setup. I`ve noticed that with a few games. Friend of mine have slower gpus but he runs some games smoother then me and that all on higher resolution. Can`t explain it thou.
Sometimes Surround is using sli potential way better then conventional sigle screen setup. I`ve noticed that with a few games. Friend of mine have slower gpus but he runs some games smoother then me and that all on higher resolution.
Can`t explain it thou.
[quote="helifax"] - I do get a very weird flickering. Anyone else noticed this? [/quote] I think I saw it's related to SLI on this game and Techland said they're working on a patch for that.
helifax said:
- I do get a very weird flickering. Anyone else noticed this?


I think I saw it's related to SLI on this game and Techland said they're working on a patch for that.

http://photos.3dvisionlive.com/chtiblue/album/530b52d4cb85770d6e000049/3Dvision with 55" LG OLED EG920 interlieved 3D (3840x2160) overide mode, GTX 2080 Ti XC Ultra EVGA, core i5 @4.3GHz, 16Gb@2130, windows 7&10 64bit, Dolby Atmos 5.1.4 Marantz 6010 AVR

Posted 02/07/2015 02:21 PM   
[quote="chtiblue"][quote="helifax"] - I do get a very weird flickering. Anyone else noticed this? [/quote] I think I saw it's related to SLI on this game and Techland said they're working on a patch for that.[/quote] Aha!! So it wasn't just my imagination running wild :)) Good to know;)) Thx for the answer!
chtiblue said:
helifax said:
- I do get a very weird flickering. Anyone else noticed this?


I think I saw it's related to SLI on this game and Techland said they're working on a patch for that.


Aha!! So it wasn't just my imagination running wild :)) Good to know;))
Thx for the answer!

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 02/07/2015 02:33 PM   
Update: - Now Shadows works with any convergence value :) now user can adjust convergence with normal shortkey from nvidia. - Add more Hands and Weapons shaders. [url]https://s3.amazonaws.com/dhr/Dying.Light.3Dfix.WIP5.zip[/url] Also take another look at the FOV issue, but i don't found anything. @helifax I left a Shadows correction value ("y" parameter) so you can try changing that value for 3D surround. Suppose first test is multiply that value for 3. Now you can change that value live (refresh F10). @bo3b, Thanks for the "pow" function....works perfect. [code]r1.x -= stereo.x * (-r1.z - stereo.y)/2 * iniParams.y * pow (1,stereo.y);[/code] [u]Note:[/u] Aspect ratio is sensitive to FOV, so if you're using a resolution that produce a aspect ratio different than 16:9 (example 16:10)...fix shadow may not work. Is neccesary to adjust the Shadows Correction parameter.
Update:

- Now Shadows works with any convergence value :) now user can adjust convergence with normal shortkey from nvidia.
- Add more Hands and Weapons shaders.

https://s3.amazonaws.com/dhr/Dying.Light.3Dfix.WIP5.zip


Also take another look at the FOV issue, but i don't found anything.


@helifax
I left a Shadows correction value ("y" parameter) so you can try changing that value for 3D surround. Suppose first test is multiply that value for 3. Now you can change that value live (refresh F10).

@bo3b,
Thanks for the "pow" function....works perfect.

r1.x -= stereo.x * (-r1.z - stereo.y)/2 * iniParams.y * pow (1,stereo.y);


Note: Aspect ratio is sensitive to FOV, so if you're using a resolution that produce a aspect ratio different than 16:9 (example 16:10)...fix shadow may not work. Is neccesary to adjust the Shadows Correction parameter.

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

Posted 02/07/2015 03:02 PM   
@DHR Here are the screenshots. one is maybe 1pm, the second 6 or 7pm. [url]http://photos.3dvisionlive.com/batrynx/image/54d62fc3e7e564950300010e/[/url] [url]http://photos.3dvisionlive.com/batrynx/image/54d6301de7e5642c050000fd/[/url] The first highlights shadowing of alcoves at a distance and blurry foliage The second highlights shadows on the roof closer to night
@DHR
Here are the screenshots. one is maybe 1pm, the second 6 or 7pm.
http://photos.3dvisionlive.com/batrynx/image/54d62fc3e7e564950300010e/
http://photos.3dvisionlive.com/batrynx/image/54d6301de7e5642c050000fd/

The first highlights shadowing of alcoves at a distance and blurry foliage
The second highlights shadows on the roof closer to night

Posted 02/07/2015 03:39 PM   
[quote="chtiblue"][quote="helifax"] - I do get a very weird flickering. Anyone else noticed this? [/quote] I think I saw it's related to SLI on this game and Techland said they're working on a patch for that.[/quote] I am on 970 sli and have the flickering as well. Had to turn vsync on to get rid of it.
chtiblue said:
helifax said:
- I do get a very weird flickering. Anyone else noticed this?


I think I saw it's related to SLI on this game and Techland said they're working on a patch for that.


I am on 970 sli and have the flickering as well. Had to turn vsync on to get rid of it.

Posted 02/07/2015 03:44 PM   
[quote="DHR"]Update: - Now Shadows works with any convergence value :) now user can adjust convergence with normal shortkey from nvidia. - Add more Hands and Weapons shaders. [url]https://s3.amazonaws.com/dhr/Dying.Light.3Dfix.WIP5.zip[/url] quote] To use your fix I just copy files to steam game folder?
DHR said:Update:

- Now Shadows works with any convergence value :) now user can adjust convergence with normal shortkey from nvidia.
- Add more Hands and Weapons shaders.

https://s3.amazonaws.com/dhr/Dying.Light.3Dfix.WIP5.zip
quote]

To use your fix I just copy files to steam game folder?

Posted 02/07/2015 03:46 PM   
  16 / 53    
Scroll To Top