Hi !
I noticed that sometimes the pixel command returns weird values when using the flag 0x1000 (I'm on windows 10), under certain circumstances
For example, it always returns 0 0 0 in the calculator app
In some DirectX 11 apps or games it works with no problem
For example, World of Warcraft with DirectX11 :
Same spot but using directX12 :
Here is the code i use :
Macro Pixel color
Is there a way to fix this or maybe i'm using it wrong ?
Thanks in advance
I noticed that sometimes the pixel command returns weird values when using the flag 0x1000 (I'm on windows 10), under certain circumstances
For example, it always returns 0 0 0 in the calculator app
In some DirectX 11 apps or games it works with no problem
For example, World of Warcraft with DirectX11 :
Same spot but using directX12 :
Here is the code i use :
Macro Pixel color
int r g b rr gg bb
rep
,ifk(F10)
,,end
,w=win(mouse)
,out
,POINT p;xm p w
,_i=pixel(p.x p.y w 0x1000)
,ColorToRGB(_i r g b)
,;out F"{r} {g} {b} with Aero"
,
,_i=pixel(p.x p.y w)
,ColorToRGB(_i rr gg bb)
,;out F"{rr} {gg} {bb} without Aero"
,OnScreenDisplay(F"{r} {g} {b} with Aero[]{rr} {gg} {bb} without Aero" 1 266 2 "" 12 444 8+1+32+4 "test")
,0.2
Is there a way to fix this or maybe i'm using it wrong ?
Thanks in advance