2 Replies - 1643 Views - Last Post: 11 March 2013 - 01:31 PM Rate Topic: -----

#1 rkow1927  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 11-March 13

Making a toon shader in directx 10

Posted 11 March 2013 - 10:53 AM

I'm trying to make a toon (cel) shader for my model in directx 10. I've looked online for help and even this site but everything I find is several years old and I can't get it work. The most recent website I tried is this one http://rbwhitaker.wi...om/toon-shader. It says to copy the code into a .fx file so I copied it into the existing .fx file in my project, but when I run it the window opens but it gets a pop up saying 'could not create shader DefaultShader'. Any help is appreciated.

Is This A Good Question/Topic? 0
  • +

Replies To: Making a toon shader in directx 10

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8377
  • View blog
  • Posts: 31,135
  • Joined: 12-June 08

Re: Making a toon shader in directx 10

Posted 11 March 2013 - 11:07 AM

Without knowing what your code looks like or what you have altered - it might be better if you contact the author of that site's tutorial. You know - get it directly from the horse's mouth.
Was This Post Helpful? 0
  • +
  • -

#3 anonymous26  Icon User is offline

  • D.I.C Lover

Reputation: -4
  • View blog
  • Posts: 3,638
  • Joined: 26-November 10

Re: Making a toon shader in directx 10

Posted 11 March 2013 - 01:31 PM

Don't just copy and paste code, learn to understand it.

BTW, of course it wouldn't work because your code is likely structured differently with different versions of stuff.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1