We get it. We use ad blockers too. But GameDev.net needs to display ads in order to continue to be a great platform for you.
Please whitelist GameDev.net. We take safe browsing seriously and review our ads on a regular basis.
Also consider a GDNet+ subscription to remove bulk/3rd party ads.
Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
cHimura hasn't added any contacts yet.
15 August 2016 - 09:16 AM
It uses ID3DX11EffectTechnique
21 March 2016 - 01:20 PM
Thank you for your response.
Yes, I read the guide of migration but it says anything about the textures.
I found the error. I sent the nColor variable instead textureFormat i tne glTexImage2D function and now works well.
23 November 2014 - 01:42 AM
Thanks for your replies.
06 April 2013 - 07:35 PM
I solved the problem!
I had the view matrix wrong! The components of the last vector was positive and the correct values are negative.
And the correct Perspective Matrix for the OpenGL is this:
pOut->m = xScale; pOut->m = 0.0f; pOut->m = 0.0f; pOut->m = 0.0f;
pOut->m = 0.0f; pOut->m = yScale; pOut->m = 0.0f; pOut->m = 0.0f;
pOut->m = 0.0f; pOut->m = 0.0f; pOut->m = (zf+zn)/(zn-zf); pOut->m = -1.0f;
pOut->m = 0.0f; pOut->m = 0.0f; pOut->m = 2*zf*zn/(zn-zf); pOut->m = 0.0f;
03 April 2013 - 12:37 AM
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC