View Single Post
Hellkong
Member
Join Date: Nov 2021
Old 03-15-2024 , 17:04   Re: Converting colors (3 to 1)
Reply With Quote #5


You didnt get me, that was just an example of the color yellow, the issue is converting the 3 dimensions of the color values to 1 dimension so I can spawn the same color in pev_colormap

X value / 3 is not the solution for sure, it will give another color in pev_colormap.

pev_rendercolor = 3 dimensions RGB 0-255 0-255 0-256
pev_colormap = 1 dimension 0-255


Edit : correct, its random_float

Last edited by Hellkong; 03-15-2024 at 17:09.
Hellkong is offline