Almost at the same time you write
I am sorry that I have not seen the article you just wrote before
The problem has been resolved after doing the following two steps:
first
I deleted 3f3a2b22980f968b-vs_replace.txt from the folder.
And secondly
V1.2's 77726e8bd1ae632c-vs_replace.txt changed to that of V1.0
After that, I was able to see the HUD as well as your screenshots.
By the way, is it difficult to render properly without turning off shadows?
The default state is that all shadows are rendered as mono
If you change it to stereo, it would be solved. Is it difficult?
Turning off the shadows makes the overall game atmosphere a bit unrealistic, so I'd like to turn it on.
Almost at the same time you write
I am sorry that I have not seen the article you just wrote before
The problem has been resolved after doing the following two steps:
first
I deleted 3f3a2b22980f968b-vs_replace.txt from the folder.
And secondly
V1.2's 77726e8bd1ae632c-vs_replace.txt changed to that of V1.0
After that, I was able to see the HUD as well as your screenshots.
By the way, is it difficult to render properly without turning off shadows?
The default state is that all shadows are rendered as mono
If you change it to stereo, it would be solved. Is it difficult?
Turning off the shadows makes the overall game atmosphere a bit unrealistic, so I'd like to turn it on.
yes but if you delete those files the UI will not be in Stereo? I am unsure what you are doing that for when it seems like a Hotkey issue??
No the Shadows are extremely hard to fix I am unable to fix them.. this is a best as I can fix it sorry but this is it for now ;)
[quote="The_Nephilim"]yes but if you delete those files the UI will not be in Stereo? I am unsure what you are doing that for when it seems like a Hotkey issue??[/quote]
you are right. After clearing or replacing the files, the UI became mono.
But it's okay. I was already used to it.
Regardless, once again, I sincerely appreciate your kind answers and efforts to resolve them.
I learned a lot thanks to it.
The_Nephilim said:yes but if you delete those files the UI will not be in Stereo? I am unsure what you are doing that for when it seems like a Hotkey issue??
you are right. After clearing or replacing the files, the UI became mono.
But it's okay. I was already used to it.
Regardless, once again, I sincerely appreciate your kind answers and efforts to resolve them.
I learned a lot thanks to it.
Well I am trying to fix the Shadows currently I am makeing a bit of Progress but don't quite get it.. I am going to ask another user to come here and look at the code..
Here is the Working shader code from Little Nightmares:
I also tried inswerting there and a few combos of the variables. Now I get some shadows in Stereo it looks but does not seem quite right.. I also noted some shadows did not do anything..
Here is the shader from High Shadows:
//Shadows High Conan
// ---- Created with 3Dmigoto v1.2.61 on Sat Jul 01 22:16:39 2017
Texture2D<float4> t3 : register(t3);
I inserted the following from the Little Nightmare code:
float4 s = StereoParams.Load(0);
matrix m = MATRIX(cb0, 0);
matrix im = inverse(m);
float4 t = mul(float4(r0.xyz, 1), im);
t.x -= s.x * (t.w - s.y) * cb1[116].x / 2;
r0.xyz = mul(t, m);
here are some pictures from the after effect of the code:
Sandbox 06 has the shadows from the Palm trees that appear to be in S3D.. Now below where I am standing there is a one eye effect in the right eye that should not be there which throws off the shadows...
Sandbox 07 has where some shadows are not in S3D like the plants and monster there.. I was hoping for some help on fixing these shadows..
I also am using the matrix.hlsl if that is even needed I am unsure??
Now this looks nothing like the code I seen for the fix in Little Nightmares.. I was wondering what I might do here to fix shadows.. I left the origianl post there as I thought I had something and now the code is so different I am lost again..
@The_Nephilim
Follow the steps that post masterotaku, those patterns need to be fixed in ASM...in HLSL produce some strange flickering/artifacts (i suppose there is a decompiler issue)
The fe6df6fdfe8dc282 shader is not related to shadows or lights, discard.
@The_Nephilim
Follow the steps that post masterotaku, those patterns need to be fixed in ASM...in HLSL produce some strange flickering/artifacts (i suppose there is a decompiler issue)
The fe6df6fdfe8dc282 shader is not related to shadows or lights, discard.
Now was I supposed to input that line of code?? Also the code from Tekken 7 was just ASM was I supposed to omit the HLSL part of the code and just leave the ASM part??
OK I did like you said and took out "Replace" in the name it still did not look like the Shadows went into Stereo?? I have a screenshot here:
Oh and Please forgive my ignorance I never messed with this part of the code before. I did see what you did with the Temp variable, I did not know I was supposed to change that too but it still did not work.
Would this mean it does a differnt projection scheme or similar??
I really appreciate the help thank you so much by the way both you guys ;)
OK I did like you said and took out "Replace" in the name it still did not look like the Shadows went into Stereo?? I have a screenshot here:
Oh and Please forgive my ignorance I never messed with this part of the code before. I did see what you did with the Temp variable, I did not know I was supposed to change that too but it still did not work.
Would this mean it does a differnt projection scheme or similar??
I really appreciate the help thank you so much by the way both you guys ;)
@The_Nephilim
That code should correct shadows, there are 2 possibilites:
1) Your are catching the wrong shader.
2) The name of the ASM .txt is not the correct one. If the shader is the "504341e20641b917", the file name need to be: 504341e20641b917-ps.txt
i can't see the screenshot in S3D (not in my gaming rig), shadows are in 2D?....when you apply the code, shadows have some change? or they look the same.
That code should correct shadows, there are 2 possibilites:
1) Your are catching the wrong shader.
2) The name of the ASM .txt is not the correct one. If the shader is the "504341e20641b917", the file name need to be: 504341e20641b917-ps.txt
i can't see the screenshot in S3D (not in my gaming rig), shadows are in 2D?....when you apply the code, shadows have some change? or they look the same.
Although the shadow is rendered in stereo( I mean The number of shadows per object is two)
The spacing between shadows is too far than the distance of the actual object
For example, if the distance of an object is 1cm, the shadow distance is 5cm
Looking at the current shadows array, the arrangement of objects and the arrangement of shadows are different, as if people were playing night games at an indoor football stadium
Although the shadow is rendered in stereo( I mean The number of shadows per object is two)
The spacing between shadows is too far than the distance of the actual object
For example, if the distance of an object is 1cm, the shadow distance is 5cm
Looking at the current shadows array, the arrangement of objects and the arrangement of shadows are different, as if people were playing night games at an indoor football stadium
Try multiplying the correction by 0.5 (or 0.25 if it's still too much). It would be:
[code]
ld_indexable(texture2d)(float,float,float,float) r21.xyzw, l(0, 0, 0, 0), t125.xyzw
add r21.w, r0.z, -r21.y
mul r21.w, r21.w, l(0.500000)
mad r1.x, r21.x, -r21.w, r1.x
[/code]
I hope that's enough and that you don't need a FOV correction (I didn't in these UE4 games).
That last shader (aff30765ce955f97) don't seems to be a shadows/lights shaders.
The other thing you can do is to see the "Shaderusage.txt" file and search for the hash shader in that txt file and post the VS related, there is a chance that also the VS need a correction (halo kind of issue).
example, it the shader hash of the shadows is 606db208dac64ef1, post the 0328bf15a36c02cb shader.
[code]<VertexShader hash="0328bf15a36c02cb">
<CalledPixelShaders>606db208dac64ef1 </CalledPixelShaders>[/code]
To locate the VS without hunting, you need to enable the dump option in the d3dx.ini:
[code]export_shaders=1
export_hlsl=2[/code]
That last shader (aff30765ce955f97) don't seems to be a shadows/lights shaders.
The other thing you can do is to see the "Shaderusage.txt" file and search for the hash shader in that txt file and post the VS related, there is a chance that also the VS need a correction (halo kind of issue).
example, it the shader hash of the shadows is 606db208dac64ef1, post the 0328bf15a36c02cb shader.
I am sorry that I have not seen the article you just wrote before
The problem has been resolved after doing the following two steps:
first
I deleted 3f3a2b22980f968b-vs_replace.txt from the folder.
And secondly
V1.2's 77726e8bd1ae632c-vs_replace.txt changed to that of V1.0
After that, I was able to see the HUD as well as your screenshots.
By the way, is it difficult to render properly without turning off shadows?
The default state is that all shadows are rendered as mono
If you change it to stereo, it would be solved. Is it difficult?
Turning off the shadows makes the overall game atmosphere a bit unrealistic, so I'd like to turn it on.
i7 8700K @4.9
GTX1080Ti
Asrock Z370 Gamming K6
Windows10 64bit
LG OLED UHD 3dtv 55E6K
No the Shadows are extremely hard to fix I am unable to fix them.. this is a best as I can fix it sorry but this is it for now ;)
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
you are right. After clearing or replacing the files, the UI became mono.
But it's okay. I was already used to it.
Regardless, once again, I sincerely appreciate your kind answers and efforts to resolve them.
I learned a lot thanks to it.
i7 8700K @4.9
GTX1080Ti
Asrock Z370 Gamming K6
Windows10 64bit
LG OLED UHD 3dtv 55E6K
Here is the Working shader code from Little Nightmares:
I also tried inswerting there and a few combos of the variables. Now I get some shadows in Stereo it looks but does not seem quite right.. I also noted some shadows did not do anything..
Here is the shader from High Shadows:
I inserted the following from the Little Nightmare code:
here are some pictures from the after effect of the code:
Sandbox 06 has the shadows from the Palm trees that appear to be in S3D.. Now below where I am standing there is a one eye effect in the right eye that should not be there which throws off the shadows...
Sandbox 07 has where some shadows are not in S3D like the plants and monster there.. I was hoping for some help on fixing these shadows..
I also am using the matrix.hlsl if that is even needed I am unsure??
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
1. 267cd9c39dbbb160
2. fe6df6fdfe8dc282
3. 8612b085be8642a8
I will list only the one as too keepo the confusion of which One I am working on.. I will be working on #2 fe6df6fdfe8dc282..
here is the code:
Now this looks nothing like the code I seen for the fix in Little Nightmares.. I was wondering what I might do here to fix shadows.. I left the origianl post there as I thought I had something and now the code is so different I am lost again..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
Wrong (I think). You don't need any external matrix there. You need to correct r1.x just before line 61 (or 228 if you do it in ASM).
For example, look at my "5aa56137f9f0b40d-ps.txt" from Tekken 7 (remember, ASM fixed shaders need to not have "_replace" in their file name):
The important parts are:
And this, where I use r0.z for the depth correction:
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
Follow the steps that post masterotaku, those patterns need to be fixed in ASM...in HLSL produce some strange flickering/artifacts (i suppose there is a decompiler issue)
The fe6df6fdfe8dc282 shader is not related to shadows or lights, discard.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
This is the line of code I input into the shader:
Now was I supposed to input that line of code?? Also the code from Tekken 7 was just ASM was I supposed to omit the HLSL part of the code and just leave the ASM part??
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
I also increase the temp to 21.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
Oh and Please forgive my ignorance I never messed with this part of the code before. I did see what you did with the Temp variable, I did not know I was supposed to change that too but it still did not work.
Would this mean it does a differnt projection scheme or similar??
I really appreciate the help thank you so much by the way both you guys ;)
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
That code should correct shadows, there are 2 possibilites:
1) Your are catching the wrong shader.
2) The name of the ASM .txt is not the correct one. If the shader is the "504341e20641b917", the file name need to be: 504341e20641b917-ps.txt
i can't see the screenshot in S3D (not in my gaming rig), shadows are in 2D?....when you apply the code, shadows have some change? or they look the same.
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com
The spacing between shadows is too far than the distance of the actual object
For example, if the distance of an object is 1cm, the shadow distance is 5cm
Looking at the current shadows array, the arrangement of objects and the arrangement of shadows are different, as if people were playing night games at an indoor football stadium
i7 8700K @4.9
GTX1080Ti
Asrock Z370 Gamming K6
Windows10 64bit
LG OLED UHD 3dtv 55E6K
I hope that's enough and that you don't need a FOV correction (I didn't in these UE4 games).
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: Gainward Phoenix 1080 GLH
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
This is the shader I found aff30765ce955f97-ps_replace:
I will try and insert the code in here and see what happens..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
The other thing you can do is to see the "Shaderusage.txt" file and search for the hash shader in that txt file and post the VS related, there is a chance that also the VS need a correction (halo kind of issue).
example, it the shader hash of the shadows is 606db208dac64ef1, post the 0328bf15a36c02cb shader.
To locate the VS without hunting, you need to enable the dump option in the d3dx.ini:
MY WEB
Helix Mod - Making 3D Better
My 3D Screenshot Gallery
Like my fixes? you can donate to Paypal: dhr.donation@gmail.com