Hi guys, im trying to make a 3d radar something like this: http://prntscr.com/iw1z1v
So what i managed to do is this: http://prntscr.com/iw1z82
so i have this code:
rt = dxCreateRenderTarget(290, 175, true)
--shader
myShader = dxCreateShader( "texRep.fx" )
myTexture = dxCreateTexture( "gtasa.png" )
dxSetShaderValue( myShader, "gTexture", myTexture )
dxSetShaderTransform ( myShader, -30, 0, 0, 1, 0, 0, false, 0, 0, false)
--drawing map
dxDrawImage((10+5)*xFactor, sy-((200+5))*yFactor, (300-10)*xFactor, (175)*yFactor, myShader, 0, 0, 0, tocolor(255, 255, 255, 150))
So i have that RenderTarget so how can i include it in shader so i will get map in this square from RenderTarget: http://prntscr.com/iw1zv5 but with my 3d effect from picture above: