Shadow feature request

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Shadow feature request

Post by 3DModelerMan »

Would Irrlicht be able to have better faster shadows, any different kind?
Maybe projective planar?
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

Would it be hard to project some kind of "decals" at the position of the object to simulate shadows? (Like a small circle on the ground like we see on some games?)

This fake shadows seem to be used on lots of old games and doesnt seem to take much GPU ressource.
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

christianclavet wrote:Would it be hard to project some kind of "decals" at the position of the object to simulate shadows? (Like a small circle on the ground like we see on some games?)

This fake shadows seem to be used on lots of old games and doesnt seem to take much GPU ressource.
thus we need decal scene node.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

But we won't get a decal scene node until we have Eddie Van Halen on guitar.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

In that case I'd vote for no decals :P
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

Post by Strong99 »

we already have one in irrExt i thought...
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Decal? I don't think so, but we'll definitely have one in either irrExt or Irrlicht sometimes.
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

Post by Strong99 »

Pardon me :D was confused with this irrExtensions made by Acki

http://irrlicht.sourceforge.net/phpBB2/ ... extensions
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Per Pixel?

Post by 3DModelerMan »

What about improvements to the per pixel lighting? It seems to be doing it half per vertex half per pixel.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Re: Per Pixel?

Post by sudi »

3DModelerMan wrote:What about improvements to the per pixel lighting? It seems to be doing it half per vertex half per pixel.
I guess u need some new eyes...
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

Or perhaps go back to 3dmodeling,man

Dont complain about features without submitting at least 100 lines of usable code. Plus,
Xeffects, THE SHADER PIPELINE.
Irrlicht supports shaders? no way!
Shadows are dime a dozen.you can get shadow shaders from every second blog,you might even be able to get one thats compatible with irrlicht,wait,did i mention xeffects?

Anyway,maybe posting at 3am is bad for the crowd,but seriously
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Xeffects?

Post by 3DModelerMan »

Xeffects gives shader compiling errors that I don't know about.
But never mind, I guess the shadows are fine for now.
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

Did you post in the XEffects thread the errors? im sure myself and blindside and others would be more then glad to help you get it working. Plus, i will give you some links to simple shadow casting shaders.

Sorry if i sounded a bit harsh but its not like the community will ignore your requests for help, most people ignore statements about irrlicht being half baked, when its a matter of getting off your ass and learning instead :P

Back to the point, graphics are awesome. good looking shadows are awesome, but there is one thing a lot of people forget, for better graphics, there are bigger requirements. i heard people complaining about performance on shadows, but thats been an issue in graphics for YEARS, its not new news. The techniques used in xeffects and other post process shadowing systems are much better then ones iv seen performance wise, plus it looks better.

just remember a common pitfall : when you want next gen graphics, it has a cost. there are millions of expensive techniqes and to see ones as good as xeffects without adding my own 6000 lines of code made me happy. irrlicht is more then capable of awesome graphics(as you will see in mine and blindsides game soon enough).

Hope this helps,

PS : here are some really solid foundations in shaders.
the texturing one has projective mapping as an example,

http://www.ozone3d.net/tutorials/glsl_texturing.php
http://www.ozone3d.net/tutorials/glsl_l ... _phong.php

and the home page is obviously, http://www.ozone3d.net/tutorials/index_glsl.php

have fun, and ask for help ;)
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Easy FanboYspooN... :lol:
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

I also think, that we needn't new shadows techniques in Irrlicht core. Why? Many Irrlicht users works on small projects, so for it shadow volumes from Irrlicht core are enought. If You need better shadows You can use shaders in Irrlicht, so what is problem? If You don't like write shaders You can use XEffect by BlindSide, this shadows looks very good. If we talking about Irrlicht shadows will be good, if we will have access to floating point textures, but I think this feature is on TODO Irrlicht Developer list, so it's OK :)
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Post Reply