ArmorPaint version: Latest git build
OS / GPU model: Windows
Issue description:
Brush opacity can exceed 1.0 when using brush nodes or high pressure sensitivity, causing weird painting behavior. The final opacity calculation in uniforms.c multiplies brush_opacity (0.0-1.0) by brush_nodes_opacity and pen_pressure * pressure_sensitivity (which can go up to 10.0), but the result is not clamped.
Steps to reproduce:
- Set brush opacity to 1.0 via slider
- Use brush nodes with opacity > 1.0, or
- Set pressure sensitivity to high values (up to 10.0)
- Paint with pen pressure enabled
- Observe weird painting behavior due to opacity > 1.0
ArmorPaint version: Latest git build
OS / GPU model: Windows
Issue description:
Brush opacity can exceed 1.0 when using brush nodes or high pressure sensitivity, causing weird painting behavior. The final opacity calculation in
uniforms.cmultipliesbrush_opacity(0.0-1.0) bybrush_nodes_opacityandpen_pressure * pressure_sensitivity(which can go up to 10.0), but the result is not clamped.Steps to reproduce: