Author Topic: Next jPCT-AE version...  (Read 4996 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Next jPCT-AE version...
« on: February 21, 2016, 10:49:17 pm »
Because my game Naroth is more or less done by now, my next project is simply the next version of jPCT-AE. I'm working on one feature in particular that I always postponed...porting the ShadowHelper stuff from jPCT to jPCT-AE to add easy to use shadow support to jPCT-AE. I have something working already:

 

It still misses some stuff that I would like to add and it does really strange things to the shaders to inject shadow support into an arbitrary shader, but it seems to work...somehow...

Offline Thomas.

  • double
  • *****
  • Posts: 833
    • View Profile
Re: Next jPCT-AE version...
« Reply #1 on: February 23, 2016, 08:04:41 am »
It is good news! Will be supported also soft shadows?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Next jPCT-AE version...
« Reply #2 on: February 23, 2016, 08:35:04 am »
That's the plan (basic PCF), but I guess it would be pretty slow if you activate them.
« Last Edit: February 23, 2016, 11:58:28 am by EgonOlsen »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Next jPCT-AE version...
« Reply #3 on: February 23, 2016, 10:47:57 pm »
PCF is basically in...rendering into a 128*128 shadowmap without PCF



...and with PCF (with a simple 3x3 filter kernel)



The performance hit on the Nexus 5X is not noticable (60fps before, 60fps now), but the Note 1 takes a punch into the stomach (half the fps, i.e. from 40 down to 20).
« Last Edit: February 24, 2016, 08:44:42 am by EgonOlsen »