Author Topic: Tasharen Water - How do you optimize for integrated cards and mobile devices?  (Read 7080 times)

Disastercake

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 87
  • www.disastercake.com
    • View Profile
    • Disastercake
I've discovered that the Tasharen Water system is sucking up a lot of resources on integrated graphics cards on Medium.  Specifically it's dropping from 140FPS to 15FPS.  Unfortunately, medium is as low as Tasharen Water can really go before it starts to look very bad.

Is there anything I could change in the shader to make it more optimized for mobile?  Maybe by removing the reflections?  Most importantly I'd really like to keep the shore foam, since that's what really makes the water look nice.
Creator of Soul Saga.
http://www.disastercake.com

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
I'm guessing that's due to fillrate, but 15 FPS seems absurdly low. I get 30+ FPS in Windward with the water on Medium on the NVidia Shield tablet -- and that's just playing the game (ie with everything else running).

I don't remember which version I have on the Asset Store but one of the additions I did in Windward for the water was adding pre-generated heightmap support which is then used to determine where the water should be transparent and where foam should be. This makes it look great even on lowest quality (as it's no longer a simple semi-transparent plane), and much faster as it doesn't involve rendering depth every frame.

If you send me your OR# (to support [at] tasharen.com) I can package up that version for you.

Disastercake

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 87
  • www.disastercake.com
    • View Profile
    • Disastercake
Thanks for the offer, Aren.  I'd love to take a look at the more optimized package.  I've sent you an e-mail about 5 days ago.  Please let me know if you got it.
Creator of Soul Saga.
http://www.disastercake.com

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Hmm no, I didn't get anything... where did you send it?

Disastercake

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 87
  • www.disastercake.com
    • View Profile
    • Disastercake
I sent to to support@tasharen.com.  Is that still a valid address?
Creator of Soul Saga.
http://www.disastercake.com

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Yes but I haven't received any requests there. You can try PMing here instead.