Nikhila Ravi
a3932960b3
Texturing API updates
...
Summary:
A fairly big refactor of the texturing API with some breaking changes to how textures are defined.
Main changes:
- There are now 3 types of texture classes: `TexturesUV`, `TexturesAtlas` and `TexturesVertex`. Each class:
- has a `sample_textures` function which accepts the `fragments` from rasterization and returns `texels`. This means that the shaders will not need to know the type of the mesh texture which will resolve several issues people were reporting on GitHub.
- has a `join_batch` method for joining multiple textures of the same type into a batch
Reviewed By: gkioxari
Differential Revision: D21067427
fbshipit-source-id: 4b346500a60181e72fdd1b0dd89b5505c7a33926
2020-07-29 16:11:23 -07:00
..
2020-07-29 16:11:23 -07:00
2020-01-23 11:53:46 -08:00
2020-07-16 10:17:28 -07:00
2020-07-16 10:17:28 -07:00
2020-04-24 09:11:04 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-07-13 12:59:37 -07:00
2020-04-14 17:22:56 -07:00
2020-05-16 15:55:10 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-23 19:38:35 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-05-23 10:28:21 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-04-11 00:21:24 -07:00
2020-03-29 14:51:02 -07:00
2020-04-17 07:44:16 -07:00
2020-06-30 12:43:57 -07:00
2020-06-30 12:41:59 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-04-25 16:03:42 -07:00
2020-04-16 14:02:16 -07:00
2020-07-16 10:17:28 -07:00
2020-04-20 12:19:45 -07:00
2020-05-04 09:56:44 -07:00
2020-05-04 09:56:44 -07:00
2020-04-17 07:44:16 -07:00
2020-04-24 09:11:04 -07:00
2020-05-05 11:09:45 -07:00
2020-04-24 09:11:04 -07:00
2020-04-24 09:11:04 -07:00
2020-07-29 16:11:23 -07:00
2020-07-02 16:09:05 -07:00
2020-07-29 05:01:07 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-05-04 09:56:44 -07:00
2020-03-29 14:51:02 -07:00
2020-07-03 10:21:12 -07:00
2020-07-29 16:11:23 -07:00
2020-04-06 06:41:00 -07:00
2020-04-24 09:11:04 -07:00
2020-07-16 10:19:43 -07:00
2020-05-20 01:13:23 -07:00
2020-06-15 10:11:26 -07:00
2020-07-03 10:21:12 -07:00
2020-05-04 09:56:44 -07:00
2020-05-04 09:56:44 -07:00
2020-07-23 10:17:12 -07:00
2020-07-17 10:28:53 -07:00
2020-04-24 14:56:41 -07:00
2020-06-03 11:32:05 -07:00
2020-07-29 16:11:23 -07:00
2020-04-20 14:54:16 -07:00
2020-03-29 14:51:02 -07:00
2020-07-08 04:01:22 -07:00
2020-05-04 09:56:44 -07:00
2020-07-14 14:53:58 -07:00
2020-05-10 13:15:37 -07:00
2020-03-29 14:51:02 -07:00
2020-03-29 14:51:02 -07:00
2020-07-29 16:11:23 -07:00
2020-04-05 14:44:27 -07:00
2020-04-17 10:39:43 -07:00
2020-01-23 11:53:46 -08:00