I made 3 ShaderRegex...2 for Halos (massive in Cryengine) and 1 for decals.
BUT i have a problem with the ShaderRegex for shadows. Since i have to use ASM. ASM don't support a direct fix in the v0 (or any "v")....i get a big crash! also sending v0 to a register and fix the register don't work.....so i think this will need to be fixed manually in HLSL :(
I left the search part enabled in the ShaderRegex, so is easier to identify when hunting.
I still don't look the others issues....so any help is welcome! :)
I made 3 ShaderRegex...2 for Halos (massive in Cryengine) and 1 for decals.
BUT i have a problem with the ShaderRegex for shadows. Since i have to use ASM. ASM don't support a direct fix in the v0 (or any "v")....i get a big crash! also sending v0 to a register and fix the register don't work.....so i think this will need to be fixed manually in HLSL :(
I left the search part enabled in the ShaderRegex, so is easier to identify when hunting.
I still don't look the others issues....so any help is welcome! :)
Please, post your regex and manually fixed things you have :) (or just your current WIP fix with everything included). If you know how to fix shadows manually, it's just a matter of doing the same every time we encounter new shadows.
Please, post your regex and manually fixed things you have :) (or just your current WIP fix with everything included). If you know how to fix shadows manually, it's just a matter of doing the same every time we encounter new shadows.
Just a status report here. DHR and I are working out some problems with the assembler and the Decompiler. He's got it nearly done, down to just one or two shaders. ComputeShaders though, the hardest to get working.
In any case, I think he has what he needs to get it working.
@masterotaku: Probably not worth starting on this one, because DHR is already very far along.
Just a status report here. DHR and I are working out some problems with the assembler and the Decompiler. He's got it nearly done, down to just one or two shaders. ComputeShaders though, the hardest to get working.
In any case, I think he has what he needs to get it working.
@masterotaku: Probably not worth starting on this one, because DHR is already very far along.
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
I'm glad I never played this one - wanted to save it for the right time, and now that I picked up a PG278qr and it's cold as hell outside, well... I think that time is nearly upon me!
I'm glad I never played this one - wanted to save it for the right time, and now that I picked up a PG278qr and it's cold as hell outside, well... I think that time is nearly upon me!
Thanks bo3b for all the help with the decompiler!!
Yesterday i fix the CS that control the Lights/Tile Lights and Reflections (some kind of environmental reflections), you can see in this screenshots those white lights fixed up over the bed and the reflections in the floor for example:
[img]http://i.cubeupload.com/RupbUV.jpg[/img]
I need to tweak another CS that is swapped for the one i fixed when panning the camera on certain angles...is an almost identical shader that the one i already fixed. And i still want to add ShaderRegex for Shadows and those CS.
Also i need to remove the Motion Blur (is broken)...for that i will use the tool "prey-interface-customizer", that also have some others features.
Thanks bo3b for all the help with the decompiler!!
Yesterday i fix the CS that control the Lights/Tile Lights and Reflections (some kind of environmental reflections), you can see in this screenshots those white lights fixed up over the bed and the reflections in the floor for example:
I need to tweak another CS that is swapped for the one i fixed when panning the camera on certain angles...is an almost identical shader that the one i already fixed. And i still want to add ShaderRegex for Shadows and those CS.
Also i need to remove the Motion Blur (is broken)...for that i will use the tool "prey-interface-customizer", that also have some others features.
[u]Update:[/u]
Fix compute shaders related to all the lights/Tile Lights, some shadows and screen space reflections.
[img]http://i.cubeupload.com/FwDuEH.jpg[/img]
[img]http://i.cubeupload.com/p16pGP.jpg[/img]
[img]http://i.cubeupload.com/0y1zxW.jpg[/img]
I still need to fix some culling in some parts and some angles, i will try with a texture override that works in previous CryEngine games like Crysis 3....hope this fix the culling. This is the only issue remaining :)
[u]Culling Issue:[/u]
[img]http://i.cubeupload.com/sUQ6AA.jpg[/img]
Fix compute shaders related to all the lights/Tile Lights, some shadows and screen space reflections.
I still need to fix some culling in some parts and some angles, i will try with a texture override that works in previous CryEngine games like Crysis 3....hope this fix the culling. This is the only issue remaining :)
At the moment there are like 35 shaders fixed, 8 or 10 of them are for the HUD.
I don't use ShaderRegex for shadows and the CS....those are fixed manually. I use ShaderRegex only for Halos and Decals, that save a lot of time fixing. CryEngine have a lot of halos issues.
Yesterday i also fix the culling...i need to test more if don't break anything that already is fixed.
Anyone have tested this mod: [url]https://www.nexusmods.com/prey2017/mods/22/?[/url]
I'm interesting in this "All the lights cast shadows", because i found that devs remove some shadows/lights. For example the character shadows in some parts and not all the objects cast shadows...i suppose they do to improve performance.
At the moment there are like 35 shaders fixed, 8 or 10 of them are for the HUD.
I don't use ShaderRegex for shadows and the CS....those are fixed manually. I use ShaderRegex only for Halos and Decals, that save a lot of time fixing. CryEngine have a lot of halos issues.
Yesterday i also fix the culling...i need to test more if don't break anything that already is fixed.
I'm interesting in this "All the lights cast shadows", because i found that devs remove some shadows/lights. For example the character shadows in some parts and not all the objects cast shadows...i suppose they do to improve performance.
This looks really good!
And I very much enjoyed the game first time through. Will definitely give it another run when this is ready.
Thank you fixing this gem =)
This looks really good!
And I very much enjoyed the game first time through. Will definitely give it another run when this is ready.
Thank you fixing this gem =)
[quote="DHR"]
Anyone have tested this mod: [url]https://www.nexusmods.com/prey2017/mods/22/?[/url][/quote]
Not tested (waiting for your fix), but I have downloaded it days ago. I plan on using it.
I just try the MOD....they enable another deferred render in the game.cfg and i fix those new shaders. BTW I can't see any improvement over the original shaders, but this new shaders are bigger, so i suppose big performance impact.
[s]BUT the mod can't enable the "lights cast by shadows" part!....all the others tweaks are working.
Anyone have successfully enable those missing shadows? for example the shadows produced by Flashlights. This is amazing how they don't include those shadows in a 2017 games...LOL.
I saw some videos in youtube and i see some of those shadows enabled. What mod they are using?
[/s]
edit: is another issue.
I just try the MOD....they enable another deferred render in the game.cfg and i fix those new shaders. BTW I can't see any improvement over the original shaders, but this new shaders are bigger, so i suppose big performance impact.
BUT the mod can't enable the "lights cast by shadows" part!....all the others tweaks are working.
Anyone have successfully enable those missing shadows? for example the shadows produced by Flashlights. This is amazing how they don't include those shadows in a 2017 games...LOL.
I saw some videos in youtube and i see some of those shadows enabled. What mod they are using?
I found the issue....is a mayor issue related to the game/engine and S3D.
For some reason only enabling S3D remove some shadows.
I try the game without the fix and S3D and i have the same issue, but when i press CTRL + T to disable S3D all the dynamics shadows appear again. I don't know whats happens here. Now i noticed those shadows missing because i go over another area that have more of those shadows....this is not good news!.
I found the issue....is a mayor issue related to the game/engine and S3D.
For some reason only enabling S3D remove some shadows.
I try the game without the fix and S3D and i have the same issue, but when i press CTRL + T to disable S3D all the dynamics shadows appear again. I don't know whats happens here. Now i noticed those shadows missing because i go over another area that have more of those shadows....this is not good news!.
To prevent the shadows from disappearing change StereoCutoff to "0x00000002 Use StereoCutoffDepthNear" and StereoCutoffDepthNear to "0x3B200000" to make the 2D halo around you as small as possible without breaking the shadows again. If you notice that some distant shadows are still disappearing use a higher StereoCutoffDepthNear value instead like "0x3D760000" although keep in mind that I have no idea if this will have any effect on weapons or your HUD shader fixes... or if any mods break anything.
I only tested this right where you start the game in the apartment so let me know if you need more help tweaking that flag.
To prevent the shadows from disappearing change StereoCutoff to "0x00000002 Use StereoCutoffDepthNear" and StereoCutoffDepthNear to "0x3B200000" to make the 2D halo around you as small as possible without breaking the shadows again. If you notice that some distant shadows are still disappearing use a higher StereoCutoffDepthNear value instead like "0x3D760000" although keep in mind that I have no idea if this will have any effect on weapons or your HUD shader fixes... or if any mods break anything.
I only tested this right where you start the game in the apartment so let me know if you need more help tweaking that flag.
BUT i have a problem with the ShaderRegex for shadows. Since i have to use ASM. ASM don't support a direct fix in the v0 (or any "v")....i get a big crash! also sending v0 to a register and fix the register don't work.....so i think this will need to be fixed manually in HLSL :(
I left the search part enabled in the ShaderRegex, so is easier to identify when hunting.
I still don't look the others issues....so any help is welcome! :)
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
In any case, I think he has what he needs to get it working.
@masterotaku: Probably not worth starting on this one, because DHR is already very far along.
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
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
Yesterday i fix the CS that control the Lights/Tile Lights and Reflections (some kind of environmental reflections), you can see in this screenshots those white lights fixed up over the bed and the reflections in the floor for example:
I need to tweak another CS that is swapped for the one i fixed when panning the camera on certain angles...is an almost identical shader that the one i already fixed. And i still want to add ShaderRegex for Shadows and those CS.
Also i need to remove the Motion Blur (is broken)...for that i will use the tool "prey-interface-customizer", that also have some others features.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
Fix compute shaders related to all the lights/Tile Lights, some shadows and screen space reflections.
I still need to fix some culling in some parts and some angles, i will try with a texture override that works in previous CryEngine games like Crysis 3....hope this fix the culling. This is the only issue remaining :)
Culling Issue:
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
I don't use ShaderRegex for shadows and the CS....those are fixed manually. I use ShaderRegex only for Halos and Decals, that save a lot of time fixing. CryEngine have a lot of halos issues.
Yesterday i also fix the culling...i need to test more if don't break anything that already is fixed.
Anyone have tested this mod: https://www.nexusmods.com/prey2017/mods/22/?
I'm interesting in this "All the lights cast shadows", because i found that devs remove some shadows/lights. For example the character shadows in some parts and not all the objects cast shadows...i suppose they do to improve performance.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
And I very much enjoyed the game first time through. Will definitely give it another run when this is ready.
Thank you fixing this gem =)
Not tested (waiting for your fix), but I have downloaded it days ago. I plan on using it.
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
I will try and see.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
BUT the mod can't enable the "lights cast by shadows" part!....all the others tweaks are working.
Anyone have successfully enable those missing shadows? for example the shadows produced by Flashlights. This is amazing how they don't include those shadows in a 2017 games...LOL.
I saw some videos in youtube and i see some of those shadows enabled. What mod they are using?
edit: is another issue.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
For some reason only enabling S3D remove some shadows.
I try the game without the fix and S3D and i have the same issue, but when i press CTRL + T to disable S3D all the dynamics shadows appear again. I don't know whats happens here. Now i noticed those shadows missing because i go over another area that have more of those shadows....this is not good news!.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
I only tested this right where you start the game in the apartment so let me know if you need more help tweaking that flag.