SDraw Posted March 4, 2014 Share Posted March 4, 2014 So, problem: need to draw object/vehicle on screen as separated image. Properties of object/vehicle can be changed. I thought about using shader, applying it on object/vehicle and preform pixels on separated render target. But I couldn't find function/algorithm to preform pixels because they have position with 4 dimensions, not 2 as needed for render target. Even VPOS semantic for pixel shader couldn't help. Any ideas? Link to comment
SDraw Posted March 9, 2014 Author Share Posted March 9, 2014 No one? Ok, I'll use crutch... Link to comment
Moderators Citizen Posted March 9, 2014 Moderators Share Posted March 9, 2014 You have to use these functions: dxCreateScreenSource dxUpdateScreenSource --and then your dxDrawImage See the wiki pages examples. Link to comment
SDraw Posted March 9, 2014 Author Share Posted March 9, 2014 You have to use these functions: dxCreateScreenSource dxUpdateScreenSource --and then your dxDrawImage See the wiki pages examples. This is exactly "crutch" that I was talking about... 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