Just off the top of my head the code looks ok, but if I had to wager a guess, I think you got that hash from a regular frame analysis dump, when what you actually want to do is first comment out your global analyse_option, and then have something like this:
[code][ShaderOverridePSWithTexture]
Hash=1d7524393faa999f
analyse_options = mono dump_tex[/code]
Do a frame analysis dump, and it will only dump all the textures used by that PS, and you'll find the correct texture hash that way.
Again, I'm just recalling all this off the top of my head, but I'm about 90% sure that should be correct ;).
Just off the top of my head the code looks ok, but if I had to wager a guess, I think you got that hash from a regular frame analysis dump, when what you actually want to do is first comment out your global analyse_option, and then have something like this:
Do a frame analysis dump, and it will only dump all the textures used by that PS, and you'll find the correct texture hash that way.
Again, I'm just recalling all this off the top of my head, but I'm about 90% sure that should be correct ;).
3D Gaming Rig: CPU: i7 7700K @ 4.9Ghz | Mobo: Asus Maximus Hero VIII | RAM: Corsair Dominator 16GB | GPU: 2 x GTX 1080 Ti SLI | 3xSSDs for OS and Apps, 2 x HDD's for 11GB storage | PSU: Seasonic X-1250 M2| Case: Corsair C70 | Cooling: Corsair H115i Hydro cooler | Displays: Asus PG278QR, BenQ XL2420TX & BenQ HT1075 | OS: Windows 10 Pro + Windows 7 dual boot
Awesome, glad to be able to help, and congrats on your progress into the learning of shaderhacking!
3D Gaming Rig: CPU: i7 7700K @ 4.9Ghz | Mobo: Asus Maximus Hero VIII | RAM: Corsair Dominator 16GB | GPU: 2 x GTX 1080 Ti SLI | 3xSSDs for OS and Apps, 2 x HDD's for 11GB storage | PSU: Seasonic X-1250 M2| Case: Corsair C70 | Cooling: Corsair H115i Hydro cooler | Displays: Asus PG278QR, BenQ XL2420TX & BenQ HT1075 | OS: Windows 10 Pro + Windows 7 dual boot
@DJ-RK Hi, I tried what you told me in other shader and it worked but... in this shader always all the textures are disabled, no matter which one I choose all get disabled. This is the VS:
//all textures get disabled no matter which a choose
// ---- Created with 3Dmigoto v1.2.57 on Thu Apr 20 15:04:09 2017
#line 34
mov o1.xy, v1.xyxx
mul o2.xyzw, v2.zyxw, l(2.000000, 2.000000, 2.000000, 1.000000)
ret
undecipherable custom data
undecipherable custom data
undecipherable custom data
// Approximately 9 instruction slots used
Ok, what I think you want to do is anytime after you have a
[code]x2=ps-tX[/code]
entry, you then want to follow it with a
[code]post x2=0[/code]
to normalize the value back, otherwise once x2 gets a value assigned it will retain the value, regardless of which texture is showing.
Ok, what I think you want to do is anytime after you have a
x2=ps-tX
entry, you then want to follow it with a
post x2=0
to normalize the value back, otherwise once x2 gets a value assigned it will retain the value, regardless of which texture is showing.
3D Gaming Rig: CPU: i7 7700K @ 4.9Ghz | Mobo: Asus Maximus Hero VIII | RAM: Corsair Dominator 16GB | GPU: 2 x GTX 1080 Ti SLI | 3xSSDs for OS and Apps, 2 x HDD's for 11GB storage | PSU: Seasonic X-1250 M2| Case: Corsair C70 | Cooling: Corsair H115i Hydro cooler | Displays: Asus PG278QR, BenQ XL2420TX & BenQ HT1075 | OS: Windows 10 Pro + Windows 7 dual boot
Do you see something wrong? The e212f8d1 texture is a lot of skeletons but I am disabling the whole shader...
Thanks
Do a frame analysis dump, and it will only dump all the textures used by that PS, and you'll find the correct texture hash that way.
Again, I'm just recalling all this off the top of my head, but I'm about 90% sure that should be correct ;).
3D Gaming Rig: CPU: i7 7700K @ 4.9Ghz | Mobo: Asus Maximus Hero VIII | RAM: Corsair Dominator 16GB | GPU: 2 x GTX 1080 Ti SLI | 3xSSDs for OS and Apps, 2 x HDD's for 11GB storage | PSU: Seasonic X-1250 M2| Case: Corsair C70 | Cooling: Corsair H115i Hydro cooler | Displays: Asus PG278QR, BenQ XL2420TX & BenQ HT1075 | OS: Windows 10 Pro + Windows 7 dual boot
Like my fixes? Dontations can be made to: www.paypal.me/DShanz or rshannonca@gmail.com
Like electronic music? Check out: www.soundcloud.com/dj-ryan-king
3D Gaming Rig: CPU: i7 7700K @ 4.9Ghz | Mobo: Asus Maximus Hero VIII | RAM: Corsair Dominator 16GB | GPU: 2 x GTX 1080 Ti SLI | 3xSSDs for OS and Apps, 2 x HDD's for 11GB storage | PSU: Seasonic X-1250 M2| Case: Corsair C70 | Cooling: Corsair H115i Hydro cooler | Displays: Asus PG278QR, BenQ XL2420TX & BenQ HT1075 | OS: Windows 10 Pro + Windows 7 dual boot
Like my fixes? Dontations can be made to: www.paypal.me/DShanz or rshannonca@gmail.com
Like electronic music? Check out: www.soundcloud.com/dj-ryan-king
And this is the PS:
This is in d3dx.ini:
These shader are things like: fire, signs,
https://drive.google.com/open?id=0B7-C-G8Te2HbU1BIWWV2Z1hLcEk
Any idea how can I disable only one texture?
Thanks!!!!
entry, you then want to follow it with a
to normalize the value back, otherwise once x2 gets a value assigned it will retain the value, regardless of which texture is showing.
3D Gaming Rig: CPU: i7 7700K @ 4.9Ghz | Mobo: Asus Maximus Hero VIII | RAM: Corsair Dominator 16GB | GPU: 2 x GTX 1080 Ti SLI | 3xSSDs for OS and Apps, 2 x HDD's for 11GB storage | PSU: Seasonic X-1250 M2| Case: Corsair C70 | Cooling: Corsair H115i Hydro cooler | Displays: Asus PG278QR, BenQ XL2420TX & BenQ HT1075 | OS: Windows 10 Pro + Windows 7 dual boot
Like my fixes? Dontations can be made to: www.paypal.me/DShanz or rshannonca@gmail.com
Like electronic music? Check out: www.soundcloud.com/dj-ryan-king
;)