Hello Guest

Author Topic: make alpha spite white?  (Read 3776 times)

destro

  • Newbie
  • *
  • Posts: 5
    • View Profile
make alpha spite white?
« on: February 20, 2014, 04:20:40 am »
Is it possible to make sprite with alpha more white, maybe not 100% white but whiter than orginal, would be great if color of sprite works like that black to 50%grey like multiplay and from grey to white like screen in photoshop :) for now I only need whitefuncionality but more flexible way to control spites color can be always usefull :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: make alpha spite white?
« Reply #1 on: February 20, 2014, 11:18:46 am »
You can do anything you like in a shader. Remember though that changing the shader will affect performance, especially if its something more "complicated" like what you're requesting. I don't think screen is possible with blend hardware.

destro

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: make alpha spite white?
« Reply #2 on: February 20, 2014, 03:27:53 pm »
thanks for answer :)

Can You point me in the right direction how to make/ change shader to make simple white blink on spite? :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: make alpha spite white?
« Reply #3 on: February 20, 2014, 09:13:13 pm »

destro

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: make alpha spite white?
« Reply #4 on: February 21, 2014, 04:12:09 am »
Works great! :) Thank You Sir :)