Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl
| Context not available. | |||||
| #define MODE_SUB 3 | #define MODE_SUB 3 | ||||
| #define MODE_MULTIPLY 4 | #define MODE_MULTIPLY 4 | ||||
| #define MODE_DIVIDE 5 | #define MODE_DIVIDE 5 | ||||
| #define MODE_HOLDOUT 6 | |||||
| #define MODE_HARDLIGHT_SECOND_PASS 999 | #define MODE_HARDLIGHT_SECOND_PASS 999 | ||||
| void blend_mode_output( | void blend_mode_output( | ||||
| Context not available. | |||||
| frag_color = color * color.a * opacity; | frag_color = color * color.a * opacity; | ||||
| frag_revealage = vec4(0.0); | frag_revealage = vec4(0.0); | ||||
| break; | break; | ||||
| case MODE_HOLDOUT: | |||||
| color.a = 0.0; | |||||
brecht: This does nothing, it's modifying an input parameter. | |||||
| } | } | ||||
brechtUnsubmitted Not Done Inline ActionsMissing break. brecht: Missing `break`. | |||||
| } | } | ||||
| Context not available. | |||||
This does nothing, it's modifying an input parameter.