Author Topic: How to make flare zoom?  (Read 2877 times)

Offline orkshaman

  • byte
  • *
  • Posts: 25
    • View Profile
How to make flare zoom?
« on: April 29, 2011, 12:46:15 am »
I want to make flare effect for cars. Right now flare is plane object with texture and billboarding. Now I need that flare become smaller when it come closer to camera and larger if go from camera. I have only one idea - to set scale flares every frame, depending on its position.
Maybe JPCT have some feature for invert Zaxis zoom or to make it more easy for phone?
Sorry if I miss something in documentation.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: How to make flare zoom?
« Reply #1 on: April 29, 2011, 09:12:57 pm »
Your idea is fine. There's no magic included that does this, you have to do this yourself.

Offline orkshaman

  • byte
  • *
  • Posts: 25
    • View Profile
Re: How to make flare zoom?
« Reply #2 on: April 29, 2011, 10:05:31 pm »
Thank you, it work already. And not so slow as I thought.
« Last Edit: April 29, 2011, 10:12:21 pm by orkshaman »