editing custom shaders text file colour format?
widget
Global Mapper User
Hi Mike,
Could you please clarify the format of the colour coding in the custom shaders text file. I'd find it much easier constructing my colour palettes here directly, as I find the graphical interface a bit tedious & time consuming with having to repick each colour. I've tried to figure it out, but obviously its not RGB, LAB or CMYK? Maybe CIA 28bit code? ;-)
Thanks for your help,
Truely magnificent programme by the way!
Could you please clarify the format of the colour coding in the custom shaders text file. I'd find it much easier constructing my colour palettes here directly, as I find the graphical interface a bit tedious & time consuming with having to repick each colour. I've tried to figure it out, but obviously its not RGB, LAB or CMYK? Maybe CIA 28bit code? ;-)
Thanks for your help,
Truely magnificent programme by the way!
Comments
-
Actually the color encoded in the custom_shaders.txt file is RGB. It is just a standard Windows 32-bit COLORREF as decimal. The layout in hex is 0x00bbggrr. So to get the number to use, just use Calculator to write your number in hex, then convert it to decimal.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
aaahhh...of course...compuspeak...I should have known but just didnt think that far.
Thanks Mike - on the ball as usual!
cheers.
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 941 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 580 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 111 Global Mapper Forum Website
