Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl
| Show All 26 Lines | |||||
| void main() | void main() | ||||
| { | { | ||||
| float vert_strength; | float vert_strength; | ||||
| vec4 vert_color; | vec4 vert_color; | ||||
| vec3 vert_N; | vec3 vert_N; | ||||
| gpMaterial gp_mat = materials[ma1.x + gpMaterialOffset]; | gpMaterial gp_mat = materials[ma1.x + gpMaterialOffset]; | ||||
| gpMaterialFlag gp_flag = floatBitsToInt(gp_mat._flag); | gpMaterialFlag gp_flag = floatBitsToUint(gp_mat._flag); | ||||
| gl_Position = gpencil_vertex(ma, | gl_Position = gpencil_vertex(ma, | ||||
| ma1, | ma1, | ||||
| ma2, | ma2, | ||||
| ma3, | ma3, | ||||
| pos, | pos, | ||||
| pos1, | pos1, | ||||
| pos2, | pos2, | ||||
| ▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines | |||||