Search found 8 matches

by wizardofoz
Mon Feb 02, 2009 10:10 am
Forum: Advanced Help
Topic: Some test with FX Shaders & Irrlicht
Replies: 7
Views: 2086

You can just use it like an HLSL shader, since FX is HLSL True, but FX format uses HLSL language + SAS script (semantic, per variable annotations, automatic state changes, passes and techniques..) In order to use it like an HLSL shader wouldn't be necessary to clean out all this code or it would co...
by wizardofoz
Sun Feb 01, 2009 3:58 pm
Forum: Advanced Help
Topic: Some test with FX Shaders & Irrlicht
Replies: 7
Views: 2086

Could you provide a demo-Project? PLEASE I need to think better how to implement this and test it before having anything ready to be shown in a demo. To use FX shaders effectively I will have to integrate them with source code of irrlicht. Maybe I should create a new material like "EMT_FXSHADE...
by wizardofoz
Sun Feb 01, 2009 1:51 am
Forum: Advanced Help
Topic: Some test with FX Shaders & Irrlicht
Replies: 7
Views: 2086

This shader is made by me in 5 minutes with FXShaders plugin for 3DSMax that now is FREE even for commercial use for groups of not more two people. On Irrlicht: http://img145.imageshack.us/img145/6845/blinnbumpspecyn8.th.jpg It is a blinn shader + texture map + normal map + specular map. It's all fo...
by wizardofoz
Sun Feb 01, 2009 12:08 am
Forum: Advanced Help
Topic: Some test with FX Shaders & Irrlicht
Replies: 7
Views: 2086

Here is a velvet.fx shader in Irrlicht: http://img443.imageshack.us/img443/3154/velvetfxot7.th.jpg gooch.fx: http://img145.imageshack.us/img145/5048/goochfxyh6.th.jpg textured blinn.fx http://img145.imageshack.us/img145/6051/blinnfxgv1.th.jpg These shaders comes from FX Composer 2.5 and they didn't ...
by wizardofoz
Sat Jan 31, 2009 9:58 pm
Forum: Advanced Help
Topic: Some test with FX Shaders & Irrlicht
Replies: 7
Views: 2086

Some test with FX Shaders & Irrlicht

Hi all, I wanted to do some stupid experiment with FX shaders made with FX Composer 2.5 and Irrlicht. I succeded (through ID3DXEffect) to render some FX shaders with only a little bit of hack. It is only a stupid example but it works without the need to modify Irrlicht source code: ... create shader...
by wizardofoz
Tue Jan 27, 2009 1:47 pm
Forum: Beginners Help
Topic: Direct3D & diffuse color material
Replies: 5
Views: 1110

Thank you for your prompt reply.

We needed to use diffuse colour on some untextured submeshes without using shaders.

I think that the material diffuse colour value could be useful also in textured meshes in order to add some simple colour effect on the texture.
by wizardofoz
Tue Jan 27, 2009 12:48 pm
Forum: Beginners Help
Topic: Direct3D & diffuse color material
Replies: 5
Views: 1110

I'm using Irrlicht 1.5 Win32 compiled version and I'm now downloading the latest SVN sources. An example code: // start up the engine IrrlichtDevice *device = createDevice(video::EDT_DIRECT3D9, core::dimension2d<s32>(640,480)); video::IVideoDriver* driver = device->getVideoDriver(); scene::ISceneMan...
by wizardofoz
Tue Jan 27, 2009 9:37 am
Forum: Beginners Help
Topic: Direct3D & diffuse color material
Replies: 5
Views: 1110

Direct3D & diffuse color material

Hi all, I can't really understand why my non-textured meshes are always rendered with a white diffuse colour. I turned off ambient, emissive etc.. and if I use OpenGL or Software, all meshes are rendered with their right diffuse color. This happens only with Direct3D 8 and 9. I'm using an ATI 1400 w...