Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

all animated shaders have wrong/static normals


Recommended Posts

vertex shader of all shaders under Shaders/Model/Animated/*

 

mat3 nmat = mat3(entitymatrix);

 

should be:

 

mat3 nmat = mat3(entitymatrix * animmatrix);

 

You can clearly see the difference when playing animations, normals will now update with the animation.

  • Upvote 7
Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...