JeViCo Posted August 4, 2018 Share Posted August 4, 2018 Hello everyone! I'm making color picker with dx functions. How can i get pixel color under mouse cursor? I tried to use render targets but it always returns 0,0,0 (rgb). I don't know how to get screen pixels without losing performance (onClientRender). I'm making everything with DGS library so it gives additional troubles. Any suggestions? 1 1 Link to comment
Discord Moderators Pirulax Posted August 4, 2018 Discord Moderators Share Posted August 4, 2018 You actually gave me an idea Thanks mate, I really appreciate, I gave you some reputation points. Link to comment
JeViCo Posted August 6, 2018 Author Share Posted August 6, 2018 On 04.08.2018 at 16:17, Pirulax said: You actually gave me an idea Thanks mate, I really appreciate, I gave you some reputation points. lol okay then) Link to comment
Discord Moderators Pirulax Posted August 7, 2018 Discord Moderators Share Posted August 7, 2018 I never thought about just getting the color under the cursor, but instead doing some crazy math Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now