Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: MakeHSL colorizes images?  (Read 2852 times)

0 Members and 1 Guest are viewing this topic.

DocBass

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 136
    • View Profile
MakeHSL colorizes images?
« on: July 18, 2008, 01:27:57 AM »

I am trying to use MakeHSL to adjust the saturation and luminance of some sprites. If I use luminance alone it seems ok. However if I include any other values for saturation it colorizes the sprites. Instead of making it darker with less color saturation, I get darker with just different colors. Is that correct? Also if I ever do a GetHValue or anything like that on a sprite, it always returns 0 until I actually set the value. It appears that to reset a sprite to its original appearance I need to use MakeHSL(255,255,255) as well. I am not sure if I am just misunderstanding how this works. When I adjust pictures in photoshop with HSL values and stick to saturation and luminance, it only adjusts those properties. However in the game I am just getting behavior I wasn't expecting. Thanks!
Logged

DocBass

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 136
    • View Profile
Re: MakeHSL colorizes images?
« Reply #1 on: July 20, 2008, 11:06:36 PM »

Anyone?  :)
Logged
 

Page created in 0.03 seconds with 24 queries.