diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-04-05 16:27:53 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-04-05 17:08:46 +0300 |
commit | d48597eb5422b33d5edc80f3b6d8d927f2f40444 (patch) | |
tree | 552200bdc04a76f2591386cf57898578aabc87cd /source/blender/bmesh | |
parent | 5fba4458e9a7a995343a3432abe230c9ea293813 (diff) |
GPUShader: Add 2D Nodelink shader.
Special shader to draw nodelinks for the node editor.
We only pass bezier points to the GPU and vertex position is handled inside
the vertex shader.
The arrow is also part of the batch to avoid separate drawcalls for it.
We still draw 2 pass one for shadow and one for the link color on top.
One variation to draw instances of theses links so that we only do one
drawcall.
Diffstat (limited to 'source/blender/bmesh')
0 files changed, 0 insertions, 0 deletions