For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Bump mapping support?

Questions, Tips&Tricks for the special patches
User avatar
hell
OldUnreal Member
Posts: 7
Joined: Sun Jul 29, 2007 2:24 pm

Bump mapping support?

Post by hell »

Is there gonna be bump mapping support and shadowing support for unreal on higher end PC's with gfx cards i.e. geforce 6600+ ?
Last edited by hell on Wed Mar 26, 2008 5:06 pm, edited 1 time in total.
User avatar
Smirftsch
Administrator
Posts: 9008
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali

Re: Bump mapping support?

Post by Smirftsch »

not in the near future. Although bump mapping may be not that difficult to implement, it requires still time I currently don't have.
Realtime shadows are way more complex than that and thus would require even more time.
Although both are long wanted dreams of maybe all of us, it needs to wait until Unreal 227 reaches final state and I have time to concentrate on such things.
Sometimes you have to lose a fight to win the war.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: Bump mapping support?

Post by GreatEmerald »

Real time shadows... That would make Skaarj really spooky, like at Vandora ruins standing in front of a light.
What about footsteps? They were promised some time earlier...
User avatar
Smirftsch
Administrator
Posts: 9008
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali

Re: Bump mapping support?

Post by Smirftsch »

footstepsounds and footprints are implemented and fully working in 227 already. Just need some changes in texture properties. Read the 227 new features topic for details.
Sometimes you have to lose a fight to win the war.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: Bump mapping support?

Post by GreatEmerald »

Yes, but not quite a huge explanation on how to do that :\ And any way to do that in Linux?
User avatar
Smirftsch
Administrator
Posts: 9008
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali

Re: Bump mapping support?

Post by Smirftsch »

I was able to realize a lot of things in Linux yet, but no UED support. So no, you can't add it in Linux. But once you have a modified texture package, it works in Linux as well.
Dots was working on a mutator for that and I want to talk with DieHard later to maybe implement it into the URP.
Last edited by Smirftsch on Sat Mar 29, 2008 4:37 am, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
sopa_de_letras

Re: Bump mapping support?

Post by sopa_de_letras »

Pray for Epics to make UE GPL like Quake, then anybody could bring quake engine ports features to UE.

However from what I've seen in quake community, coders focus on openGL alone, nobody cares about map format or system memory management.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: Bump mapping support?

Post by GreatEmerald »

It's not Epic style to do that. They will keep U1 non-oss (OSS - Open Source Software) while they can distribute it in other packages, like Unreal Anthology.
User avatar
Skull Doctor
OldUnreal Member
Posts: 17
Joined: Fri Jul 18, 2003 6:42 pm

Re: Bump mapping support?

Post by Skull Doctor »

haha speaking of realtime shadows and quake, it reminded me or lordhavoc's darkplaces engine for quake, which has amazing real-time shadow effects. You can see the outline of anything, including enemies and your player moving around on the wall.
User avatar
Turboman.
OldUnreal Member
Posts: 898
Joined: Tue Feb 04, 2003 6:40 pm

Re: Bump mapping support?

Post by Turboman. »

Since we're on the subject of shadows, Are there already any plans for what kind of technique is possibly going to be implented in the future?

is it going to be the (shitty, needs to die!) projector/texture shadow method like in ut2004?
or is it going to be the far more sophisticated stencil method (creative's shadow patch for example)?
User avatar
Mini-Me
Posts: 4
Joined: Wed Apr 02, 2008 6:26 am

Re: Bump mapping support?

Post by Mini-Me »

Smirftsch is pretty much my hero for even considering these things for Unreal 98. :)

The cool thing about fancy texture mapping techniques (bump mapping, parallax mapping, and relief mapping) is that once you have the rendering infrastructure written (shaders operating with access to the tangent space matrix and the appropriate normal and/or depth texture maps), it doesn't take much more shader code to implement the more advanced techniques over the basic ones.
Since we're on the subject of shadows, Are there already any plans for what kind of technique is possibly going to be implented in the future?

is it going to be the (crappy, needs to die!) projector/texture shadow method like in ut2004?
or is it going to be the far more sophisticated stencil method (creative's shadow patch for example)?
Technically speaking, stencil shadows (shadow volumes) are beginning to become the way of the past, since they don't scale very well with geometric complexity (not an issue for Unreal, granted), only geometry can cast shadows, and it's difficult to implement soft shadows with them (there is the penumbra wedges method, but...).

I'm not sure exactly what methods UT2004 uses (from what I remember, the Unreal engine 2.0 uses several types of shadows), but shadow maps are looking like the way of the future. One cool thing about them is that anything that can be rendered can cast shadows (i.e. particles, masked textures, etc.). In the past, aliasing artifacts (blockiness mainly) made these pretty ugly, but there are lots of new ways being developed to reduce the aliasing and get accurate shadows...parallel split shadow maps (and variants) are probably the best method: http://appsrv.cse.cuhk.edu.hk/~fzhang/pssm_project/, http://appsrv.cse.cuhk.edu.hk/~fzhang/pssm_vrcia/
There are also several emerging high-quality soft shadowing algorithms: Here's a cool comparison of various newer techniques: http://developer.download.nvidia.com/presentations/2008/GDC/GDC08_SoftShadowMapping.pdf
I also know that variance shadows maps have been combined with parallel split shadow maps to produce quite nice soft shadows in large environments (http://forum.beyond3d.com/showthread.php?p=975976). It's probably possible to combine some other algorithms, as well. There are a lot of other things I'm planning on fooling around with in graphics, but once I get a more complete understanding of PSSM and the backprojection algorithm, I'm curious to figure out if those two are compatible as well.

Some of the soft shadow algorithms (particularly backprojection...eek) are quite expensive and impractical for older hardware (or maybe even current hardware), but that's what's nice about having an Unreal.ini with configurable options :)

I have no idea what the Unreal engine codebase looks like (or what the current renderer code looks like), but if all things are equal, shadow maps will probably be the best bet for their extensibility.
Last edited by Mini-Me on Wed Apr 02, 2008 8:11 pm, edited 1 time in total.
sopa_de_letras

Re: Bump mapping support?

Post by sopa_de_letras »

UT2k4 doesn't rely on any shader. On the other hand UT3 has full support for Shader 3.0 and HDRR.

I believe that Crysis is heavy because all shadows and textures are at very high resolution, making any high end video card suffer because there is too much detail to render. With so many multiple texture layers, effects, HDRR, filtering this and that, plus all in a dynamic world... No wonder why GPUs got so many bits, trillions of operations per second, dozens and dozens of units for this and that.
Last edited by sopa_de_letras on Thu Apr 03, 2008 1:46 am, edited 1 time in total.
User avatar
Wastelander0101
OldUnreal Member
Posts: 87
Joined: Fri Jan 26, 2007 4:14 pm

Re: Bump mapping support?

Post by Wastelander0101 »

Actually, there is some kind of fake-bump-mapping that one of the guys posted here. I cant seem to find the link, can anyone do a re-post?
User avatar
-Zlodey-
OldUnreal Member
Posts: 14
Joined: Fri Nov 25, 2005 10:45 am

Re: Bump mapping support?

Post by -Zlodey- »

Actually, there is some kind of fake-bump-mapping that one of the guys posted here. I cant seem to find the link, can anyone do a re-post?
Its not fake, it true bump.
http://boris-vorontsov.narod.ru/download_en.htm - there is render for DeusEx, working with Unreal, UT,TO/etc. too(in TO you may get ban for using it online, in UT - not).
ENB Series working with dx9 render only.

Also there is OpenGL render, heavy, not finished and I not see any updates for it: http://www.oldunreal.com/cgi-bin/yabb2/YaBB.pl?num=1235632308/60#73
LIVE-EVIL
User avatar
Hyper
OldUnreal Member
Posts: 3558
Joined: Fri Oct 11, 2002 5:41 pm

Re: Bump mapping support?

Post by Hyper »

Do we need bumpmapping ("fake" details) when we can have textures of 4096x4096 or even bigger ("real" details)?
Alter your reality...forever.

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hellkeeper
Global Moderator
Posts: 3294
Joined: Wed May 21, 2008 8:24 pm
Location: France

Re: Bump mapping support?

Post by Hellkeeper »

Do we need bumpmapping ("fake" details) when we can have textures of 4096x4096 or even bigger ("real" details)?
Different things. One can't replace the other.
You must construct additional pylons.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: Bump mapping support?

Post by GreatEmerald »

Indeed, bumpmaps give us the illusion of 3D, S3TC gives us details.
User avatar
-Zlodey-
OldUnreal Member
Posts: 14
Joined: Fri Nov 25, 2005 10:45 am

Re: Bump mapping support?

Post by -Zlodey- »

Off cource we need it!
Try to set bump on and off in doom3/quake4, and you WILL SEE the difference.
Can hi-resolution texture have dynamic shadow in different direction inside "deep" areas? Well, its basics of modern graphics, you cant made all with hi-detailed models.
Its easy way to add some "3d" into models or maps.
Last edited by -Zlodey- on Sun Jun 21, 2009 6:34 pm, edited 1 time in total.
LIVE-EVIL
User avatar
iLikeTheUDK
OldUnreal Member
Posts: 435
Joined: Mon Mar 21, 2011 12:46 pm

Re: Bump mapping support?

Post by iLikeTheUDK »

About realtime shadowing, I found out that back in 1998 Creative Labs released a patch for Unreal to add support for realtime shadow mapping - and it actually casted from light sources!
However, this pach only supported version 220 of Unreal and could pnly run on Creative's own S3 Savage 3D Accelerator. And as Epic continued to patch Unreal, Creative's engine modification lost popularity (it wasn't extremely popular in the first place) and became obscure. Ironically, 3 years or so later, Creative approached John D. Carmack, lead programmer of id Software - one of Epic's earliest rivals - while he was developing id Tech 4 (and the game to pioneer it, Doom 3), suggesting a deal for him - He may use their shadowing algorithm, as long as he also implements EAX 3.
So I was thinking, maybe you could try to get the source code for the patch, and look at the parts enabling the realtime shadows. Then you could add it into Unreal 227.
And Unreal 2 also uses light-sourced shadows, so you could probably check its codebase as well.
And Duke Nukem Forever was made using a heavily-modified Unreal Engine 1. And it has normal mapping. If you manage to find how it does the bump mapping, you might also try to add it into the OldUnreal patch. Other options may be Pariah, Tribes: Venegance, and BioShock.
User avatar
Smirftsch
Administrator
Posts: 9008
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali

Re: Bump mapping support?

Post by Smirftsch »

To make it short, as much I'd love to have such things myself, it's not that easy.

Creatives stencil shadows had a lot of flaws and were far from working perfect. Also sources not available.

Unreal2 sources not available: Epics answer: "We don't have the bandwidth to..."

Not Unreal related engines differ to much, would result in the same situation as now- a complete rewrite required.

An implementation of both realtime shadows and bumpmapping makes not much sense at the moment, since the first step would have to be to move the lighting system from the engine into the graphics card. Can it be done? Sure. Can I do it? Not at the moment, not the time, not the health, not the money it would require me to have the needed time.

Sorry. I really would love to have it myself.
Last edited by Smirftsch on Tue Jun 26, 2012 12:12 pm, edited 1 time in total.
Sometimes you have to lose a fight to win the war.
User avatar
Hellkeeper
Global Moderator
Posts: 3294
Joined: Wed May 21, 2008 8:24 pm
Location: France

Re: Bump mapping support?

Post by Hellkeeper »

Can it be done? Sure. Can I do it? Not at the moment, not the time, not the health, not the money it would require me to have the needed time.
It's always about you isn't it, don't you care about our feelings ?
Last edited by Hellkeeper on Thu Jun 28, 2012 10:14 am, edited 1 time in total.
You must construct additional pylons.
User avatar
Smirftsch
Administrator
Posts: 9008
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali

Re: Bump mapping support?

Post by Smirftsch »

I love your refreshing way of seeing things. Nope, actually I'm pure egoist.
Sometimes you have to lose a fight to win the war.
User avatar
iLikeTheUDK
OldUnreal Member
Posts: 435
Joined: Mon Mar 21, 2011 12:46 pm

Re: Bump mapping support?

Post by iLikeTheUDK »

Nobody likes egoists...
User avatar
Smirftsch
Administrator
Posts: 9008
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali

Re: Bump mapping support?

Post by Smirftsch »

Nobody likes egoists...
Most of the time I like me :P
Sometimes you have to lose a fight to win the war.
User avatar
iLikeTheUDK
OldUnreal Member
Posts: 435
Joined: Mon Mar 21, 2011 12:46 pm

Re: Bump mapping support?

Post by iLikeTheUDK »

Yup, the only people who like egoists are the egoists themselves...

Return to “OpenGL & D3D for Unreal & UnrealTournament”