I tried one last code on the nebula and I got it fixed.. now to see about all this other lighting effects and such.. I am currently trying to fix the Suns with the black shadow either side of the Sun..
I tried one last code on the nebula and I got it fixed.. now to see about all this other lighting effects and such.. I am currently trying to fix the Suns with the black shadow either side of the Sun..
[quote="Th3_N3philim"]I tried one last code on the nebula and I got it fixed.. now to see about all this other lighting effects and such.. I am currently trying to fix the Suns with the black shadow either side of the Sun..[/quote]
Thank you. I am very grateful.
Th3_N3philim said:I tried one last code on the nebula and I got it fixed.. now to see about all this other lighting effects and such.. I am currently trying to fix the Suns with the black shadow either side of the Sun..
Thank you. I am very grateful.
Rampage 4 Extreme
4960x oc 4.6 Ghz, H100i watercooler
2080 Ti Sli
Windows 7 Ultimate Edition
5760x1080 PG258Q/2560x1440 PG278Q
4k Lg55c6v with edid mod
Well do not thank me yet there seems to be a ton of work to be done..
I believe this old fix is no longer compatible with the new beta version.. I think thisa might need a total from scratch effort but not totally butr almost..
IT seems some shaders that I stereoize are affected by the Convergance setting like the Nebulas in Space.. I am unsure why but I am going to take a brake bin at this almost all day..
I may try and start from scratch and see what happens..
Well do not thank me yet there seems to be a ton of work to be done..
I believe this old fix is no longer compatible with the new beta version.. I think thisa might need a total from scratch effort but not totally butr almost..
IT seems some shaders that I stereoize are affected by the Convergance setting like the Nebulas in Space.. I am unsure why but I am going to take a brake bin at this almost all day..
I may try and start from scratch and see what happens..
Well I tried installing fresh and it was worse then with the original fix.. I think I will go back to the 1.3v of the fix and go from there.. a lot is broke tho especially with the new lighting effects..
Well I tried installing fresh and it was worse then with the original fix.. I think I will go back to the 1.3v of the fix and go from there.. a lot is broke tho especially with the new lighting effects..
Well going back the the v1.3 fix worked great.. I had a few broke things like the Nebula and Milky Way but those fixed right up this time.. So all and all I am making way better progress then before..
I did run into a Lighting issue. there are a few but this one is the last besides maybe the shadows I need to fix or try to.. But here is the light Code I tried a lot of code in there but nothing seemed to fix the lights..
Now these are also tied into the HOTAS controls in the ship it looks really weird broke but I am sure once I get the right code it will look great again..
here is the code and number of the file "72ffa1cd14b2f368-vs_replace.txt":
[code]//Lights on Station direct lights..Lights on HOTAS Controls in ship..
// ---- Created with 3Dmigoto v1.2.54 on Fri Nov 02 23:00:42 2018
cbuffer cb0 : register(b0)
{
float4 cb0[9];
}
// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);
void main(
float3 v0 : COLOR0,
float3 v1 : POSITION0,
float4 v2 : TEXCOORD0,
float4 v3 : TEXCOORD1,
float3 v4 : TEXCOORD2,
out float4 o0 : TEXCOORD0,
out float4 o1 : TEXCOORD1,
out float4 o2 : TEXCOORD2,
out float3 o3 : TEXCOORD3,
out float4 o4 : SV_Position0)
{
float4 r0,r1;
uint4 bitmask, uiDest;
float4 fDest;
o0.w = v3.x;
r0.xyz = v4.xyz * v3.xxx + v1.xyz;
r0.w = 1;
r1.x = dot(cb0[4].xyzw, r0.xyzw);
r1.y = dot(cb0[5].xyzw, r0.xyzw);
r1.w = dot(cb0[7].xyzw, r0.xyzw);
o0.xyz = r1.xyw;
o4.xyw = r1.xyw;
o1.w = v2.x * v2.x;
r1.xyz = v1.xyz;
r1.w = 1;
o1.x = dot(cb0[0].xyzw, r1.xyzw);
o1.y = dot(cb0[1].xyzw, r1.xyzw);
o1.z = dot(cb0[2].xyzw, r1.xyzw);
r1.x = v3.x * v3.x;
o2.w = 1 / r1.x;
o2.xyz = cb0[8].xxx * v0.xyz;
o3.x = dot(cb0[0].xyzw, r0.xyzw);
o3.y = dot(cb0[1].xyzw, r0.xyzw);
o3.z = dot(cb0[2].xyzw, r0.xyzw);
o4.z = dot(cb0[6].xyzw, r0.xyzw);
return;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
// using 3Dmigoto v1.2.54 on Fri Nov 02 23:00:42 2018
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyz 0 NONE float xyz
// POSITION 0 xyz 1 NONE float xyz
// TEXCOORD 0 x 2 NONE float x
// TEXCOORD 1 x 3 NONE float x
// TEXCOORD 2 xyz 4 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// TEXCOORD 0 xyzw 0 NONE float xyzw
// TEXCOORD 1 xyzw 1 NONE float xyzw
// TEXCOORD 2 xyzw 2 NONE float xyzw
// TEXCOORD 3 xyz 3 NONE float xyz
// SV_Position 0 xyzw 4 POS float xyzw
//
vs_4_1
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb0[9], immediateIndexed
dcl_input v0.xyz
dcl_input v1.xyz
dcl_input v2.x
dcl_input v3.x
dcl_input v4.xyz
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xyzw
dcl_output o3.xyz
dcl_output_siv o4.xyzw, position
dcl_temps 2
mov o0.w, v3.x
mad r0.xyz, v4.xyzx, v3.xxxx, v1.xyzx
mov r0.w, l(1.000000)
dp4 r1.x, cb0[4].xyzw, r0.xyzw
dp4 r1.y, cb0[5].xyzw, r0.xyzw
dp4 r1.w, cb0[7].xyzw, r0.xyzw
mov o0.xyz, r1.xywx
mov o4.xyw, r1.xyxw
mul o1.w, v2.x, v2.x
mov r1.xyz, v1.xyzx
mov r1.w, l(1.000000)
dp4 o1.x, cb0[0].xyzw, r1.xyzw
dp4 o1.y, cb0[1].xyzw, r1.xyzw
dp4 o1.z, cb0[2].xyzw, r1.xyzw
mul r1.x, v3.x, v3.x
div o2.w, l(1.000000, 1.000000, 1.000000, 1.000000), r1.x
mul o2.xyz, v0.xyzx, cb0[8].xxxx
dp4 o3.x, cb0[0].xyzw, r0.xyzw
dp4 o3.y, cb0[1].xyzw, r0.xyzw
dp4 o3.z, cb0[2].xyzw, r0.xyzw
dp4 o4.z, cb0[6].xyzw, r0.xyzw
ret
// Approximately 0 instruction slots used
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
[/code]
Now I looked through every other old shader that was fixed and did not see a pattern to this shader.. Now there was quite a few that where fixed with HLSL tool and I am not familiar with how to use that so I need to manually fix this..
I would appreciate any insite to solving this particular lighting issue.. maybe I will have the others lighting effects be similar and fix it in one fell swoop..
Well going back the the v1.3 fix worked great.. I had a few broke things like the Nebula and Milky Way but those fixed right up this time.. So all and all I am making way better progress then before..
I did run into a Lighting issue. there are a few but this one is the last besides maybe the shadows I need to fix or try to.. But here is the light Code I tried a lot of code in there but nothing seemed to fix the lights..
Now these are also tied into the HOTAS controls in the ship it looks really weird broke but I am sure once I get the right code it will look great again..
here is the code and number of the file "72ffa1cd14b2f368-vs_replace.txt":
//Lights on Station direct lights..Lights on HOTAS Controls in ship..
// ---- Created with 3Dmigoto v1.2.54 on Fri Nov 02 23:00:42 2018
cbuffer cb0 : register(b0)
{
float4 cb0[9];
}
Now I looked through every other old shader that was fixed and did not see a pattern to this shader.. Now there was quite a few that where fixed with HLSL tool and I am not familiar with how to use that so I need to manually fix this..
I would appreciate any insite to solving this particular lighting issue.. maybe I will have the others lighting effects be similar and fix it in one fell swoop..
I will keep plugging aya with this formula for now.. I will see if it works on other lights I am unsure how I missed this.. I was just thinking I will try placing it in different areas of the Shader maybe that will have a full effect..
OK I was looking at the older version of Elite. it seems there are similar lighting in the stations that are in the Beta version..
I am going to try and track down the 1 set of lights and look for that shader in the older fix.. and see if they have similar code.. I was doing that before and the code seemed different but I don't see why it would be..
If this don't work I hear the HTC Vive Calling my name ;)
OK I was looking at the older version of Elite. it seems there are similar lighting in the stations that are in the Beta version..
I am going to try and track down the 1 set of lights and look for that shader in the older fix.. and see if they have similar code.. I was doing that before and the code seemed different but I don't see why it would be..
If this don't work I hear the HTC Vive Calling my name ;)
Voila, as I suspected the lighting was fixed with the HLSLTool.py.. So unless I can figure out how to use that tool these lights may not be fixable from me..
So if anybody can offer some assistance in How to get that tool to work and no I never used python even thos I tried and failed miserably in the past..
// hlsltool.py --auto-fix-vertex-halo --only-autofixed --no-validate --install-to Halos 4f2b0d8c0a99d85c-vs_replace.txt
// ---- Created with 3Dmigoto v1.2.53 on Tue Jan 03 22:59:09 2017
cbuffer cb0 : register(b0)
{
float4 cb0[9];
}
this was the shader for the 1 set of lights known to be broke in the Beta version.. at least I know they can be fixed still there is hope.. ;)
I will have to ask my buddy who knows a little bit about python maybe he can help me also but in the meantime I ask if anybody here can help me with that tool..
HaHa, on a whim I tried inserting the code from the original fix with the tool and inserted it into the Beta shader and Voila it worked like a charm..
I think I just had a eureka moment.. I guess the tool just makes the jon to auto fix it instead of a manual fix..
Thank you again DJ-RK..
If you ever need hlsltool.py, then you'll need these to get to the main prompt of it:
[list][.][url=https://www.python.org/downloads/]Python3[/url][/.][.][url=https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/hlsltool.py]hlsltool.py[/url][/.][.][url=https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/shadertool.py]shadertool.py[/url][/.][.][url=https://raw.githubusercontent.com/DarkStarSword/3d-fixes/master/shaderutil.py]shaderutil.py[/url][/.][/list]
Install Python3 and put all three Python files in the same folder. Shift+Right-click in that folder to open a PowerShell window. Type [color="orange"]python hlsltool.py[/color] to see the main prompt. Type [color="orange"]python3[/color] instead if you get an error. Also, if you get a "missing file" error while running it, then get the file from [url=https://github.com/DarkStarSword/3d-fixes]this page[/url] and try again.
Install Python3 and put all three Python files in the same folder. Shift+Right-click in that folder to open a PowerShell window. Type python hlsltool.py to see the main prompt. Type python3 instead if you get an error. Also, if you get a "missing file" error while running it, then get the file from this page and try again.
---
Windows 10 x64 / 1x 980Ti GPU (no SLI, 418.81 driver) / 1920x1080
I have found a code that was never fixed but very problematic for me to fix..
I tried all the code and some variations of code nothing seems to completely fix this one.. I am unsure what else to try as this code is completely different then all the other shaders in this fix??
I would appreciate some help on what I should do to correct this shader here:
//red lights on station..bright lights on corners of dock..
// ---- Created with 3Dmigoto v1.2.54 on Fri Nov 02 22:50:16 2018
Texture2D<float4> t0 : register(t0);
Hey All I think I have a decent Beta fix for Beta ED.. it may have some issues so if you see them let me know what it was you saw and maybe a 3D screenshot if you can get one. This is just an ealy release and this is beta version of ED so things may break often..
EDIT: I made a newer version of the fix updated after this page..
Hey All I think I have a decent Beta fix for Beta ED.. it may have some issues so if you see them let me know what it was you saw and maybe a 3D screenshot if you can get one. This is just an ealy release and this is beta version of ED so things may break often..
EDIT: I made a newer version of the fix updated after this page..
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
Thank you. I am very grateful.
Rampage 4 Extreme
4960x oc 4.6 Ghz, H100i watercooler
2080 Ti Sli
Windows 7 Ultimate Edition
5760x1080 PG258Q/2560x1440 PG278Q
4k Lg55c6v with edid mod
I believe this old fix is no longer compatible with the new beta version.. I think thisa might need a total from scratch effort but not totally butr almost..
IT seems some shaders that I stereoize are affected by the Convergance setting like the Nebulas in Space.. I am unsure why but I am going to take a brake bin at this almost all day..
I may try and start from scratch 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
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 did run into a Lighting issue. there are a few but this one is the last besides maybe the shadows I need to fix or try to.. But here is the light Code I tried a lot of code in there but nothing seemed to fix the lights..
Now these are also tied into the HOTAS controls in the ship it looks really weird broke but I am sure once I get the right code it will look great again..
here is the code and number of the file "72ffa1cd14b2f368-vs_replace.txt":
Now I looked through every other old shader that was fixed and did not see a pattern to this shader.. Now there was quite a few that where fixed with HLSL tool and I am not familiar with how to use that so I need to manually fix this..
I would appreciate any insite to solving this particular lighting issue.. maybe I will have the others lighting effects be similar and fix it in one fell swoop..
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
Rampage 4 Extreme
4960x oc 4.6 Ghz, H100i watercooler
2080 Ti Sli
Windows 7 Ultimate Edition
5760x1080 PG258Q/2560x1440 PG278Q
4k Lg55c6v with edid mod
I was wondering why only a few lights and not all where fixed??
here is what I ened up using:
I will keep plugging aya with this formula for now.. I will see if it works on other lights I am unsure how I missed this.. I was just thinking I will try placing it in different areas of the Shader maybe that will have a full effect..
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 am going to try and track down the 1 set of lights and look for that shader in the older fix.. and see if they have similar code.. I was doing that before and the code seemed different but I don't see why it would be..
If this don't work I hear the HTC Vive Calling my name ;)
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
So if anybody can offer some assistance in How to get that tool to work and no I never used python even thos I tried and failed miserably in the past..
this was the shader for the 1 set of lights known to be broke in the Beta version.. at least I know they can be fixed still there is hope.. ;)
I will have to ask my buddy who knows a little bit about python maybe he can help me also but in the meantime I ask if anybody here can help me with that tool..
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 think I just had a eureka moment.. I guess the tool just makes the jon to auto fix it instead of a manual fix..
Thank you again DJ-RK..
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
Install Python3 and put all three Python files in the same folder. Shift+Right-click in that folder to open a PowerShell window. Type python hlsltool.py to see the main prompt. Type python3 instead if you get an error. Also, if you get a "missing file" error while running it, then get the file from this page and try again.
---
Windows 10 x64 / 1x 980Ti GPU (no SLI, 418.81 driver) / 1920x1080
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
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 tried all the code and some variations of code nothing seems to completely fix this one.. I am unsure what else to try as this code is completely different then all the other shaders in this fix??
I would appreciate some help on what I should do to correct this shader here:
thank you ..
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
EDIT: I made a newer version of the fix updated after this page..
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