PDA

View Full Version : DirectX 9 Shader optimisations?


Skeee
12-22-2005, 09:49 PM
Hi All,

I'm currently starting to use DirectX 9 Shader materials in my scene (for normal maps etc).

However, I've noticed when comparing this to standard material, performance is extremely
reduced (both standard & DX9 shader are using the same diffuse map)

Can anyone recommend any options to increase performance please?

I'm asuming this is not a gfx card issue as I'm using an nvidia 7800 pci-x w/ 512mb.

Any ideas please?

Thanks,

Skeee!

Skeee
12-22-2005, 11:08 PM
Actually, just to clear up the mis-guiding subject of my post..

I'm looking for max options settings, or graphics card driver settings, that will
help increase the performance of the real-time view of DirectX9 Shaders.

(not fx file optermisations).

Skeee!

pablo83
12-22-2005, 11:34 PM
strange this kind of shaders run very fast on my pc without relevant difference in performance i have a poor 9600 ati.isn't a gpu power problem this is sure.
sayed and resayed words... get the latest driver.
how many is the performance reduced?
what can i say?!? take a plugin or max 8 and try your normal map in render.

Skeee
12-23-2005, 04:27 PM
Thanks for the reply..

How noticable? - well standard materials will allow realtime perspective view rotation over 60fps. DirectX9 materials - well below 10 fps (ie. it's VERY noticable)

If I have several directX materials in a multisub, applied to various objects in a scene you
will see each object be drawn one after another, after another - it's that _slow_ ! :/

I am using Max 8 - latest drivers already.

Any further ideas, anyone?

- Skeee!

robinb
12-23-2005, 07:45 PM
When I've done tests with the directx display of standard materials I've found that it's fine drawing one, but I get significant slow down with more than one active at a time. Something like ten times slower with a second one active. The viewport navigation lags behind the mouse movement. This is with an ATI Radeon 9600. Not very recent drivers admittedly. I found newer drivers just caused more problems so I had to roll back.

I tend to just use standard materials when working and only replace them with real time shaders for testing purposes. I put it down to automatically built shaders being highly unoptimised compared to custom written ones.

Sean121
12-24-2005, 11:37 PM
I get fast DX 9 displays with my FX 5200 :shrug:

CGTalk Moderation
12-24-2005, 11:37 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.