Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/modes/shaders/common_hair_lib.glsl
| /** | /** | ||||
| * Library to create hairs dynamically from control points. | * Library to create hairs dynamically from control points. | ||||
| * This is less bandwidth intensive than fetching the vertex attributes | * This is less bandwidth intensive than fetching the vertex attributes | ||||
| * but does more ALU work per vertex. This also reduce the number | * but does more ALU work per vertex. This also reduces the number | ||||
| * of data the CPU has to precompute and transfert for each update. | * of data the CPU has to precompute and transfer for each update. | ||||
| **/ | **/ | ||||
| /** | /** | ||||