I’ve also tried with a normalized range (although that wouldn’t make much sense given the syntax), it does something but not what I would expect, either:
The problem is actually similar to what I emailed you about with the sRGB color range where the font library that handles the formatting codes is doing things a little differently than the main TouchDesigner systems. In this case, the text shader is expecting a premultiplied alpha, but the font library is just passing the color through directly.
I think we’ll need to update the library to automatically premultiply the alpha, but in the meantime you should be able to do it manually if you want. For reference, the alpha value is still linear while the r, g, b values are currently supposed to be in sRGB space.
Hi Rob,
any update on this?
I’m actually using the Text COMP with multi-line setting and I’d like to control the alpha of the lines individually but I guess the problem is still there.
Using 33910 build on Windows 11 btw.
Sorry we didn’t update this thread, but I believe the pre-multiply fix was included with our 2022.31030 release last December ( Release Notes - Derivative )
When I try it in the current release with this content ‘{#color(255,255,255,128)}Derivative\n{#color(255,255,255,64)}another line here’ in appears to be blending correctly.