Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualGavin Williams

Posted 07 December 2012 - 11:09 AM

Well your shader is wrong. The code .. return float4(0.0f, 0.0f, 0.0f, 0.0f); will simply return BLACK. You need to uncomment the code that you've commented out.

Edit : Oh ok, you are just trying to get a black square on the screen.

I'm way too tired. I will need to look at this tomorrow. If need be, I can post up the code that works for me.

#2Gavin Williams

Posted 07 December 2012 - 11:07 AM

Well your shader is wrong. The code .. return float4(0.0f, 0.0f, 0.0f, 0.0f); will simply return BLACK. You need to uncomment the code that you've commented out.

Edit : Oh ok, you are just trying to get a black square on the screen.

#1Gavin Williams

Posted 07 December 2012 - 11:05 AM

Well your shader is wrong. The code .. return float4(0.0f, 0.0f, 0.0f, 0.0f); will simply return BLACK. You need to uncomment the code that you've commented out.

PARTNERS