Author Topic: How to Use Shaders  (Read 1034 times)

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
How to Use Shaders
« on: December 07, 2013, 08:22:41 am »
The NormalMapping example on the wiki requires you to compile your model. But bones breaks with compiled models. So how do I go about applying a normal map to a bones-animated model?

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1974
    • View Profile
    • http://www.aptalkarga.com
Re: How to Use Shaders
« Reply #1 on: December 07, 2013, 05:18:32 pm »
I'm not sure, did you try dynamic compilation, ie: Object3D.compile(true)?

Offline AGP

  • quad
  • ******
  • Posts: 1526
    • View Profile
Re: How to Use Shaders
« Reply #2 on: December 07, 2013, 07:59:49 pm »
Compile(true) worked. Thanks for the suggestion!