Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Video Editing/Mangling

Reply
 
Thread Tools Display Modes
Old 03-25-2021, 11:53 AM   #1
fuzzball
Human being with feelings
 
fuzzball's Avatar
 
Join Date: Dec 2020
Posts: 214
Default Text overlay - video processor, Can you change TXT color?

Text overlay - video processor, Can you change TXT color?

Is it possible to change the color of the text when using the Text Overlay?
fuzzball is offline   Reply With Quote
Old 03-27-2021, 02:36 PM   #2
jrk
Human being with feelings
 
Join Date: Aug 2015
Posts: 2,969
Default

Yes.

look for this line in the code
Code:
gfx_set(fgc,fgc,fgc,fga);
The first three items (all currently the same - "fgc") are the Red, Green & Blue levels.

These can range from 0 to 1

if you change this to
Code:
gfx_set(1,0,0,fga);
you'll get red text. you should be able figure out the rest
__________________
it's meant to sound like that...
jrk is offline   Reply With Quote
Old 03-27-2021, 09:04 PM   #3
fuzzball
Human being with feelings
 
fuzzball's Avatar
 
Join Date: Dec 2020
Posts: 214
Default

Thank you so much! That worked great. Entered, //Commented and added as a preset.

I'm often curious as to why Reaper doesn't bother to put helpful comments into the FX codebase. There are many things that could be made more clear with little effort.
fuzzball is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.