Gamestudio Links
Zorro Links
Newest Posts
EntryDelay Clarification
by Ger1
Yesterday at 22:11
strf length-limitation
by Grant
Yesterday at 18:49
Deformers struct in MDL7 abspeichern.
by tagimbul
Yesterday at 17:41
Compiling Trading Strategies with C++
by pascalx
Yesterday at 12:18
global breakeven of a portfolio inside tmf function
by kmerlo
08/19/17 12:21
AUM Magazine
Latest Screens
AckCon'17: Lotter vs The World
Triton Wing
ZeaL
Computer Repair Simulator
Collider (working title)
Who's Online
11 registered (3dgamelight, Grant, alibaba, Iglarion, jrath, JoFo, jyd, tagimbul, mk_1, 1 invisible), 447 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
mqo, Aimak, Grant, Marce, pascalx
17719 Registered Users
Page 13 of 13 < 1 2 ... 11 12 13
Topic Options
Rate This Topic
#464564 - 02/26/17 15:26 Re: ShadeCEVO simple grass (OVERLAY) ? ***** [Re: painkiller]
Reconnoiter Offline
Serious User

Registered: 12/26/11
Posts: 1742
Loc: Netherlands
Damn I just noticed that #define BONES seems to break the shadows of animated entities (it shows them as they were not animated). So there is choice to make; more fps and somewhat lame shadows or worse fps and 'animated' shadows. I quess that is why the fps gain was pretty high and why your fps went higher when you disabled sun shadows.
Originally Posted By: painkiller
Setting max_bones to 1 improved the performance, but still no difference setting BONES or not. The model I'm using (player and three enemies) has 9616 faces and 5776 vertices, so it should perform okay.
, have you set it like this
#define BONES //enable gpu support
in the right .fx file? Also what kind of gpu do you have? (dont know if that matters) Might also has to do with how complex your models' bones setups are.

Top
#464568 - 02/26/17 21:13 Re: ShadeCEVO simple grass (OVERLAY) ? [Re: Reconnoiter]
painkiller Offline
Serious User

Registered: 08/23/09
Posts: 1416
Loc: Spain
Originally Posted By: Reconnoiter
Damn I just noticed that #define BONES seems to break the shadows of animated entities (it shows them as they were not animated). So there is choice to make; more fps and somewhat lame shadows or worse fps and 'animated' shadows. I quess that is why the fps gain was pretty high and why your fps went higher when you disabled sun shadows.
Originally Posted By: painkiller
Setting max_bones to 1 improved the performance, but still no difference setting BONES or not. The model I'm using (player and three enemies) has 9616 faces and 5776 vertices, so it should perform okay.
, have you set it like this
#define BONES //enable gpu support
in the right .fx file? Also what kind of gpu do you have? (dont know if that matters) Might also has to do with how complex your models' bones setups are.


Yes I set #define BONES on the fx file that uses the character's material. I'm thinking about using a lower poly variant of the model for the shadows to get more performance, like you can do in engine shadows using shadow_lod, but not sure it that would be possible in shade-c.
_________________________
3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB

Top
#464578 - 02/27/17 16:22 Re: ShadeCEVO simple grass (OVERLAY) ? [Re: painkiller]
txesmi Offline
User

Registered: 06/13/07
Posts: 998
Loc: Hiporope and its pain
Originally Posted By: painkiller
Originally Posted By: Reconnoiter

Quote:

BONES
Set this flag if you want support for GPU Bones.
, omg I did not know this feature, after adding it to the .fx files I now have twice as much fps in my project... blush


Hmm In my case it didn't make a difference.

I would bet it is a license issue. GPU bones animation is A8Pro only.

Originally Posted By: Reconnoiter
Damn I just noticed that #define BONES seems to break the shadows of animated entities (it shows them as they were not animated).

The shader that records depths from the light source has to animate the models too, so adding #define BONES to it could work.

Just a guess, I never used shadec laugh
Salud!

Top
#464585 - 02/27/17 22:54 Re: ShadeCEVO simple grass (OVERLAY) ? [Re: txesmi]
Reconnoiter Offline
Serious User

Registered: 12/26/11
Posts: 1742
Loc: Netherlands
Originally Posted By: txesmi
The shader that records depths from the light source has to animate the models too, so adding #define BONES to it could work.

Just a guess, I never used shadec laugh
Salud!
, I LOVE YOU AND YOUR GENIUS BRAIN! grin
(for others add #define BONES to sc_lights_shadowmap.fx found in shadec/fx folder. Note that is costs you a bit of fps but its still alot better than cpu bones)

Top
#464594 - 02/28/17 11:14 Re: ShadeCEVO simple grass (OVERLAY) ? [Re: txesmi]
painkiller Offline
Serious User

Registered: 08/23/09
Posts: 1416
Loc: Spain
Originally Posted By: txesmi
Originally Posted By: painkiller
Originally Posted By: Reconnoiter

Quote:

BONES
Set this flag if you want support for GPU Bones.
, omg I did not know this feature, after adding it to the .fx files I now have twice as much fps in my project... blush


Hmm In my case it didn't make a difference.

I would bet it is a license issue. GPU bones animation is A8Pro only.


ah right then that's probably the reason
_________________________
3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB

Top
#467367 - 07/28/17 17:46 Re: ShadeCEVO simple grass (OVERLAY) ? [Re: painkiller]
painkiller Offline
Serious User

Registered: 08/23/09
Posts: 1416
Loc: Spain
I've been playing last days with shade-c EVO trying to get it working with gamestudio's multitexture terrain shader but got no luck. Tried setting forward rendering for it but didn't work. Has anyone got any sucess getting a multitexture terrain shader to work on shade-c evo?

Getting the gamestudio multiterrain shader to work with it would be nice as it's the one that GED uses so we could paint terrains using it.
_________________________
3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB

Top
Page 13 of 13 < 1 2 ... 11 12 13


Moderator:  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs | beta features

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net