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

all animated shaders have wrong/static normals


shadmar

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.

Link to post
Guest
This topic is now closed to further replies.
Facebook Twitter Youtube Github Steam
×
×
  • Create New...