Jump to content

  • Log In with Google      Sign In   
  • Create Account

-Tau-

Member Since 13 Jul 2011
Offline Last Active May 31 2016 10:38 AM

#5209850 Texture render target size

Posted by -Tau- on 10 February 2015 - 01:28 PM

Well, you must still set the correct viewport. I don't see you doing that.

 

THIS, thank you good sir.




#5180286 Unsigned int in vertex shader

Posted by -Tau- on 14 September 2014 - 12:14 PM

Thanks for the tip, i changed D3DDECLTYPE_UBYTE4 to D3DDECLTYPE_D3DCOLOR and unsigned int vTexHeight to float4 vTexHeight. Now i get bytes with

int u1=(int)(vTexHeight.b*255);
int u2=(int)(vTexHeight.g*255);
int u3=(int)(vTexHeight.r*255);
int u4=(int)(vTexHeight.a*255);




PARTNERS