OE shader library

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

do you want this included in the nest release

yeah
56
92%
no way
5
8%
 
Total votes: 61

omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

never mind i made a way to fake extracted lights and it look as good as the real thing

so it will have true HDR effects such as bloom motion blur
advanced bloom (changes shape and blens round objects for halos)
and my fake hdr model based lighting
dawasw
Posts: 357
Joined: Tue Aug 10, 2004 4:39 pm
Location: Poland

Post by dawasw »

Thanks for PM omaremad.

Also for advices.

I am really impressed with your shader work ! You have really get into engine features and HDR , bloom, blur <- this sounds EXTREME!

I would really love to see any screen.

Anyway I am even excited that you have ported such thing into irrlicht :D
omaremad_

Post by omaremad_ »

well i got each pass of the sahder working on its own

i also got the model lighting

i might be thinking to use multiple camera to simulate multiple passes but one pass runs at about 26 fps and i need:

-rescale pass
-vertical blurx2
-hori blurx2
-finalcombine

- 1 pass per model for lighting
dawasw
Posts: 357
Joined: Tue Aug 10, 2004 4:39 pm
Location: Poland

Post by dawasw »

When will you release new version of your shader library including these nice effects :) ?
omaremad_

Post by omaremad_ »

im trying to speed up the shader

My fx5200(same card as yours is doing one pass at 26 fps imagine what ^ passes would be like!!!!
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Post by krama757 »

Omaremand, do you have screens of the water shaders you wrote?

Use photobucket if you have no space.

SOoooooooooooooo excited!!
omaremad_

Post by omaremad_ »

at last i finished the slow multipass(simulated not real) bug!

but now i need to find a way to make shaders accept the second material on a node

it only picks up the first samler 2d and ignores the rest

there are two water shaders one similar to that referactions and reflection example on rendermonky but yet again it needs two textures which dont work with irrlicht!

or another simple but working one included in the shaderlib download see previous page

i really need to fix this single texture bug so i can finish my hdr

Karama if you lookup hdr you would be more excited

maybe you can construct a shader that maerges two texture on irrlicht to check if this texture thing is a bug or it is becuase of me
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Post by krama757 »

Im not the shader guy, my bro wrote the grass shader for me. THough I can definately ask him to see if he can write a shader to merge 2 textures.

Omaremand, could you write a blur shader while you are at it? I saw a couple posts back that you still were interested in writing a shader and didnt know what to make :)
omaremad_

Post by omaremad_ »

i cant get irrlicht to pass the second texture to the shader!
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

well i have finnally got the hdr shader working



here is my first test with glowing cubes( glow reigions are defined by the alpha of the texture therefor not using RGBE format which require shader model 3 and float textures)
in other words this is not auto hdr where glows are computed on the fly but are defined by you ( to reduce min requirements)

glows can interact with each other on the same or other nodes

exposure and photo style tonemapping are also in it


Image


this needs a lot of tweaking

but at the above res it works at 85 fps on a 250 mhz gpu opengl (geforce fx5200)

more to come stay tuned
Guest

Post by Guest »

changed a part of the shader and got this intresting effect see it below

Image
dawasw
Posts: 357
Joined: Tue Aug 10, 2004 4:39 pm
Location: Poland

Post by dawasw »

:shock: MAN! You rule, this looks awesome :D
omaremad_

Post by omaremad_ »

if the first pic wasnt clear here i an example. maybe i should increase the glow size?

Image
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

here is a small demo of the postprocessor effect

http://d.turboupload.com/d/317316/hdr.exe.html

the hdr lighting needs cubemaps which irrlicht doesnt have however lf does have it

so it would be cool to findout how lf does cubemaps or maybe add cubemaps to the wanted features.
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

here is a small update

Depth of field and camera focus!

Note on the image below you see the ferrari sign clearly as the camera is focused on it while the rest of the car is blured

Image

this is not in the mini demo
Post Reply