DRW: Add support for tangent on objects using display lists.
Only Metaballs are left unsupported. However, the implementation does not match 100% with cycles which converts all objects to meshes. Fixes T63424 EEVEE: Normal map node doesn't works with curve objects
This commit is contained in:
@@ -98,9 +98,10 @@ struct GPUBatch *DRW_metaball_batch_cache_get_edge_detection(struct Object *ob,
|
||||
/* DispList */
|
||||
void DRW_displist_vertbuf_create_pos_and_nor(struct ListBase *lb, struct GPUVertBuf *vbo);
|
||||
void DRW_displist_vertbuf_create_wiredata(struct ListBase *lb, struct GPUVertBuf *vbo);
|
||||
void DRW_displist_vertbuf_create_loop_pos_and_nor_and_uv(struct ListBase *lb,
|
||||
struct GPUVertBuf *vbo_pos_nor,
|
||||
struct GPUVertBuf *vbo_uv);
|
||||
void DRW_displist_vertbuf_create_loop_pos_and_nor_and_uv_and_tan(struct ListBase *lb,
|
||||
struct GPUVertBuf *vbo_pos_nor,
|
||||
struct GPUVertBuf *vbo_uv,
|
||||
struct GPUVertBuf *vbo_tan);
|
||||
void DRW_displist_indexbuf_create_lines_in_order(struct ListBase *lb, struct GPUIndexBuf *ibo);
|
||||
void DRW_displist_indexbuf_create_triangles_in_order(struct ListBase *lb, struct GPUIndexBuf *ibo);
|
||||
void DRW_displist_indexbuf_create_triangles_loop_split_by_material(struct ListBase *lb,
|
||||
|
||||
Reference in New Issue
Block a user