Page 1 of 1

graphic error in examples PerPixelLight.exe and shader.exe

Posted: Fri Dec 08, 2006 2:47 am
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.

Posted: Fri Dec 08, 2006 2:56 am
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...

Posted: Sat Dec 09, 2006 4:20 am
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.

Posted: Sat Jan 27, 2007 11:28 pm
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!

Posted: Sun Jan 28, 2007 2:27 pm
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.

Posted: Sun Jan 28, 2007 2:40 pm
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

Posted: Sun Jan 28, 2007 2:41 pm
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))