instancesVertex.fx 197 B

12345678
  1. #ifdef INSTANCES
  2. mat4 finalWorld = mat4(world0, world1, world2, world3);
  3. #ifdef THIN_INSTANCES
  4. finalWorld = world * finalWorld;
  5. #endif
  6. #else
  7. mat4 finalWorld = world;
  8. #endif