openrndr / openrndr

OPENRNDR. A Kotlin/JVM library for creative coding, real-time and interactive graphics
http://openrndr.org
Other
850 stars 72 forks source link

Texture parameters in shade style overwrite texture bindings of FontImageMapDrawer #394

Open edwinRNDR opened 5 months ago

edwinRNDR commented 5 months ago

Operating System

N/A

OPENRNDR version

0.4.4

Java version (if applicable)

N/A

Describe the bug

Texture parameters in shade style overwrite texture bindings of FontImageMapDrawer

Steps to reproduce the bug

drawer.shadeStyle = shadeStyle {
    fragmentTransform = """//"""
    parameter("texture", someColorBuffer)
}
drawer.text("test", 100.0, 100.0)
edwinRNDR commented 3 months ago

Also appears when applying shade styles to image primitives.