Fur Shader - Anyone?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
andrewdfrost
Posts: 13
Joined: Mon Feb 05, 2007 2:05 pm

Fur Shader - Anyone?

Post by andrewdfrost »

Has anyone implemented a fur shader in Irrlicht? If so can you tell me how, as I am struggling.

Thanks
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

What problems are you having?
andrewdfrost
Posts: 13
Joined: Mon Feb 05, 2007 2:05 pm

Post by andrewdfrost »

For each frame update I want to set the same shader constants (with different values for each shell) and redraw the mesh with a new texture.

There doesn't seem an obvious way of doing this.
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Post by Anteater »

I don't know if this will help but RenderMonkey has a fur shader.
andrewdfrost
Posts: 13
Joined: Mon Feb 05, 2007 2:05 pm

Post by andrewdfrost »

Thanks for that. I have the shader written ok, the problem I have is coding Irrlict to use it. I have used the shader before in an MDX app.
TheC
Posts: 93
Joined: Fri May 05, 2006 7:50 am

Post by TheC »

If you are using a multipass shader for the fur (like the rendermonkey or FX Composer demos), you'll have to add your own multipass support to irrlicht.
andrewdfrost
Posts: 13
Joined: Mon Feb 05, 2007 2:05 pm

Post by andrewdfrost »

Cheers. That's what I thought. Has anyone done this yet? I don't want to have to re-invent the wheel.
Post Reply