graphic error in examples PerPixelLight.exe and shader.exe

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
r3d
Posts: 6
Joined: Mon Mar 28, 2005 1:28 pm

graphic error in examples PerPixelLight.exe and shader.exe

Post by r3d »

english:

hello,

I download the last update of Irrlicht (1.2) and proved the examples and I discovered that in the example shader.exe, that do not work for opengl and d3d9.

Also there were problems with with the example perPixelLigth.exe, with opengl and d3d9.Appear a message that says

" Your hardware or this to renderer is not able to uses the needed shaders for this material. Using fall back materials ".

I installed driver of the video card again but the problem follows.

I proved with previous versions of irrlicht in version 1.0 works but from the 1.1 the problem persist
I have a video card asus ati radeon 9200 SE

It is problem of my hardware or some special configuration of Irrlicht or is bug?

thank you very much.

Spanish:
hola a todos,

bajé la última actualización de Irrlicht (1.2) y probé los ejemplos y descubrí que en el ejemplo shader.exe, que no funcionan para opengl y d3d9.

También hubo problemas con con el ejemplo perPixelLigth.exe, con opengl y d3d9. Aparece un mensaje que dice

"Your hardware or this renderer is not able to use the needed shaders for this material. Using fall back materials".

Instalé los driver de la placa otra vez pero el problema sigue.

Probé con versiones anteriores de irrlicht en la version 1.0 funciona bién pero a partir de la 1.1 surge el problema

Tengo una tarjeta de video asus ati radeon 9200 SE

¿Es problema de mi hardware o de alguna configuracion especial de Irrlicht o es un bug?

muchas gracias.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I think it's a problem with your hardware...
I have an old pc with a GeForce 2 graphics crad and using Irrlicht with dx will crash with this card (no messages at all, just crashing) !!!
After installing the latest driver it ran also with dx but very slow (like a slideshow, even with one single mesh from the examples)

My pc with a GeForce FX 5200 works with no problems...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
r3d
Posts: 6
Joined: Mon Mar 28, 2005 1:28 pm

Post by r3d »

thanks acki

can be, but it is stranger in version irrlicht 1.0
works and for versions 1.1 and 1.2 not work.
marco.siino
Posts: 14
Joined: Thu Oct 13, 2005 2:36 pm

Post by marco.siino »

Similar problem here too

I have an Asus EAX550HM512 (it is a Radeon X550, that supports pixel shaders and vertex shaders 2.0) but if i try the Shader tutorial demo of irrlicht (i installed the SDK 1.2) it can't use the shaders and all the three cubes look without shader effects (grey) <-- this appen if i choose directx 9.0c driver. If i choose OpenGL driver it works.

Also i tryed to do an application with dx9 driver, that apply a vertex and pixel shaders, but it don't work... When i call the method of GPUServices to load and add the shaders it returns -1 (i tryed in .NET). Also if i use queryFeatures it says strange things about shader support on my graphic card: it returns true if i do a query for vertex and pixel shaders 3.0 (but my card don't support it), but it return false when i try to query for vertex shaders 1.1 (it should return true) and for vertex shaders 2.0.


If i use RenderMonkey all works good (i use DirectX preview and pixel shaders and vertex shaders 2.0, and also vertex shaders 1.1 works)... so i think there are something that don't work on irrlicht.

Someone know how to solve this problem or can take i look in the code? im still not very good in irrlicht source knowledge!

Thanks!
--
Marco Siino
Software Developer for an italian Software House

"Reality is merely an illusion, albeit a very persistent one" - Albert Einstein
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Could you please post the DirectX Caps Viewer log here, this could help finding a wrong query in the caps check of Irrlicht.
drac_gd
Posts: 132
Joined: Sun Apr 09, 2006 8:43 pm

Post by drac_gd »

I may have had the same problem..I have a GForce 6600 GT with latest drivers.
when I ran the shader example and select no to use low level shaders it worked. When I ran the shader example and select yes to use high level shaders it shows without any shader effects and errors about not supporting 1_x etc.

The latest version or irrlicht I checked out today seams to be ok
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

This is easy fix for the 9200SE. For directx you need to download a newer DLL, it should be mentioned in console output. OpenGl does not work because Open gl fragment shaders are not supported on this card. (But they are on the X550 that is why opengl works without problem, but they also do not have required DLL for Direct X...(I think it was d3dx9_29.dll))
Post Reply