Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBrother Bob

Posted 22 July 2013 - 12:34 PM

It seems that for tex2Dlod, you'd have to use float4 for 'texUV' //=================================================================== sampler2D samp; float4 tex2Dlod(sampler2D samp, float4 s)// s.w selects the mipmap level //=================================================================== http://http.developer.nvidia.com/Cg/tex2Dlod.html //=================================================================== And it says at the bottom that your GPU must support the vp40 profile. If you have a decent video card this should not be a problem. I suspect a lot of laptops might not support this.


#3marcClintDion

Posted 22 July 2013 - 03:34 AM

There is far too much arrogance and out right abuse by site moderators, they are teaching other people to behave this way.  The posts I've made will all be shorty removed and replaced with this notice.  Game development is not the only thing being taught here, bad behavior is being taught as well.


#2marcClintDion

Posted 04 June 2013 - 01:35 PM

It seems that for tex2Dlod, you'd have to use float4 for 'texUV'
//===================================================================
sampler2D samp;
float4 tex2Dlod(sampler2D samp, float4 s)// s.w selects the mipmap level
//===================================================================
http://http.developer.nvidia.com/Cg/tex2Dlod.html
//===================================================================
And it says at the bottom that your GPU must support the vp40 profile. If you have a decent video card this should not be a problem. I suspect a lot of laptops might not support this.

#1marcClintDion

Posted 04 June 2013 - 01:31 PM

It seems that for tex2Dlod, you'd have to use float4 for 'texUV'
//===================================================================
sampler2D samp;
float4 tex2Dlod(sampler2D samp, float4 s)// s.w selects the mipmap level
//===================================================================
http://http.developer.nvidia.com/Cg/tex2Dlod.html
//===================================================================

PARTNERS