Page 1 of 8

OE shader library

Posted: Wed Jul 20, 2005 4:01 pm
by omaremad
hello i have decided to put all the shaders i made in one zip file and release them

any new shaders will also be found here

cureent shaders:
-toon shader
-3 versions of water shader

Niko if you like them please include them in next release(we need to be better than ogre)


http://www.sendmefile.com/00020893

i urge u to write critisim if u download
bye ppl :D

Posted: Wed Jul 20, 2005 5:55 pm
by omaremad
i just added a shader tutorial on the wiki

Posted: Wed Jul 20, 2005 8:07 pm
by omaremad
no one is downloading it :cry:

may be this will presaude you
a comparision between irrlicht and ogre toon shaders
Image

Posted: Wed Jul 20, 2005 9:36 pm
by bal
That isn't "Ogre's toon shader". It's just "a toon shader" loaded into Ogre as it supports shaders completely. Eitherway, you did a nice job :).

Posted: Wed Jul 20, 2005 9:52 pm
by Guest
This shows we have a better community. :wink:

Posted: Wed Jul 20, 2005 11:47 pm
by bitplane
I'm getting lots of errors when i run the toon shader demo, is this expected?

Code: Select all

HLSL Variable to set not found: 'mInvWorld'. Available variables are:
  'mWorldViewProj' Registers:[begin:0, count:4]
HLSL Variable to set not found: 'mLightPos'. Available variables are:
  'mWorldViewProj' Registers:[begin:0, count:4]
HLSL Variable to set not found: 'mTransWorld'. Available variables are:
  'mWorldViewProj' Registers:[begin:0, count:4]
I'll be reading your tutorial :)

Posted: Thu Jul 21, 2005 12:08 am
by omaremad
it is just some useless variables in the cpp code i forgot to delete

did it work?

it has to be dx9 wth hlsl

Posted: Thu Jul 21, 2005 8:38 am
by Cleves
Good work omaremad. And thanks for tutorial as well.

Posted: Fri Jul 22, 2005 9:43 pm
by katoun
(we need to be better than ogre)
Well, for that Irrlicht has to have at least all the major capabilities of OGRE and steel keep the easy to use API(and than Irr will surely be better)
But there are a lot of thing to do(like first of all change the framework with a better one) and not once I thought to take all the things from OGRE source and translate them into Irrlicht's code but OGRE is now to big(actualy huge, it took me 6 hours to compile the hole source code)
and I don't have the first or the second oficial source code (the realy old ones) so I might make something out of it. So if maby some of you hase it or knows were to fing I think it might help all of us get a new idea as a rendering engine framework might look and we might adapt it to Irrlicht or might help us restructure the internal engine of Irrlicht(cause that is what it realy needs first)
Like a sugestion take a look at OGRE's RenderSystem source and you will see how a powerfooll VideoDriver should look.

I admire Irrlicht's clear and easy to use API and I admire the OGRE's powerfull API. Imagine an armonious combination of bowth or an evolved Irrlicht(that learned form his :D older brother OGRE - I sayed brother because both are in the same category -free opensource rendering engine ).

Posted: Sat Jul 23, 2005 11:14 pm
by omaremad
i am bored

any one want any effects?

dont ask for thing that require multiple passes irrlicht cant do that

Posted: Sun Jul 24, 2005 1:13 am
by RLG
I'd love to see a heat or night vision, that'd rock.

Posted: Sun Jul 24, 2005 1:21 am
by Jedive
very good! I would love to see a decent shaders demo inside the official IrrLicht package :)

Posted: Sun Jul 24, 2005 8:47 pm
by omaremad
thanx 4 replies and ideas

im going to start to make the night vision(very easy)

do render 2 tex

make it black and white
then multiply by 5 to make it 5x brighter

apply to a polgn/sprite infront of cam

Posted: Mon Jul 25, 2005 10:48 am
by grayman
i want to learn to write shaders but my super video card dont even support the simplest one anyway i can run at good speed everything what i do in irrlicht, but the "shaders" are vertex shaders and pixel shaders, could somebody explain me the real diference beetwen them and teach about, more tutorial links.

Posted: Tue Jul 26, 2005 1:11 pm
by Guest
somewhere on the forum I found a link to this page:
www.facewound.com/tutorials/shader1/