Techtest: lightmap + normalmapping on models

Posted By: fogman

Techtest: lightmap + normalmapping on models - 01/15/08 12:19

Here you can see an early test which deals with a lightmap and normalmapping:





The lightmap was rendered in Lightwave, the textures are made by Frank Geppert.

The lightmap is applied through Ventilators famous shadowmap plugin.
These are the first technology tests for our upcoming prototype.

If you´re german and want to participate, please contact me via PM.

Edit: We´ve to thank HeelX, Pappenheimer and Ventilator for their excellent support.
You guys simply rock!
Posted By: Lutz_G

Re: Techtest: lightmap + normalmapping on models - 01/15/08 13:10

Any executable? I would see it in realtime.
Posted By: ello

Re: Techtest: lightmap + normalmapping on models - 01/15/08 13:16

the normalmaps on the ceiling of the first image look like they are inverted. somehow the rillen sehen aus als ob sie nach aussen kommen würden

this counts for the floor in the left front, too.

generally it looks to me like the lightpositions differ from the static to the dynamic part
Posted By: Machinery_Frank

Re: Techtest: lightmap + normalmapping on models - 01/15/08 13:23

yes. Ello is right. The lightposision is wrong since we have only one directional light currently (the sun). This will be changed in the next update.
Posted By: Slin

Re: Techtest: lightmap + normalmapping on models - 01/15/08 15:08

Die Texturen und der Raum auch wenn noch sehr kahl sehen so weit sehr gut aus und es passt alles zusammen. Die Lightmap scheint mir etwas zu dunkel, aber das liegt warscheinlich an meinem Bildschirm...^^
Der Shader ist nichts Besonderes und scheint noch lange nicht perfekt, ihr seid aber die ersten, die das wirklich nutzen und zeigen . Eine Idee wäre auch, den Winkel der wichtigsten Lichtquelle zu jedem Pixel in einer Textur zu speichern und diese auszulesen und statt der dynamischen lichter zu nutzen. Dies würde unendlich viele statische Lichtquellen ermöglichen. Es hat warscheinlich auch Nachteile, könnte aber für euch ein interessanter Ansatz sein (wie auch immer ihr die Textur erstellen wollt ).

Edit: Sorry I just noticed that the thread was in english and I posted in german...
Posted By: Machinery_Frank

Re: Techtest: lightmap + normalmapping on models - 01/15/08 15:19

Danke Slin, für den guten Kommentar.

Der Raum wurde in einem Vormittag zusammen gebastelt, wir wollten erst den Workflow testen, bevor wir komplexe Level erstellen, sind dennoch begeistert, dass wir es hinbekommen haben, auch wenn einige Workarounds dabei zu berücksichtigen sind.

Der Shader ist nicht perfekt, aber daran können wir noch arbeiten und vielleicht möchten sich weitere Team-Mitglieder anschließen, die Erfahrungen mitbringen.

Deine Idee klingt interessant, wenn man eine Art Beleuchtungs-Map erzeugt, die genau festlegt, aus welcher Richtung jeder Pixel beleuchtet werden soll. Grundsätzlich könnte so eine Map "gerendert" werden und Informationen von mehreren Lichtquellen enthalten. Das klingt interessant aber auch nicht ganz einfach.
Vielleicht genügt auch ein üblicher Shader mit 1-3 dynamischen Lichtern, je nach Raum.

Wichtig ist für unser Projekt, dass es erstmal läuft, ungebremst mit über 600 FPS rendert und Shader mit Schatten kombiniert. Jetzt können wir ernsthaft mit der Arbeit fortfahren.
Posted By: Nems

Re: Techtest: lightmap + normalmapping on models - 01/15/08 18:30

Looks fantastic, how easy (hard?) is it to use Vents Lightmapper technique?
Posted By: frazzle

Re: Techtest: lightmap + normalmapping on models - 01/15/08 19:36

This looks quite promising indeed
Too bad I do not fully master the german language

Cheers

Frazzle
Posted By: fogman

Re: Techtest: lightmap + normalmapping on models - 01/16/08 09:09

Thanks for your Feedback.

Quote:

Any executable? I would see it in realtime.





Sorry, there won´t be any public exe until the demo is ready.

@4eyes:
It should be pretty easy with four eyes.
Seriously: It´s not that hard. I´m diving into shaders since two month and I´ve got some great help by
Ventilator, HeelX and Pappenheimer, who has already lined out the workflow.
Without there help, it would have been harder, though.
Now I´ve to take it over to Lite-C and include some dynamic lights.
Posted By: fogman

Re: Techtest: lightmap + normalmapping on models - 01/30/08 04:08

Thanks to Slin we´ve got the ability to use up to four dynamic lights.

Without specular map, three coloured lights:






With specular map, one white light:


Posted By: Nems

Re: Techtest: lightmap + normalmapping on models - 01/30/08 05:17

Awesome stuff, even with 4eyes(blur comes naturally )
If I wasnt so pigheaded about developing for low end systems I think I would have been tagging along with all these loverly shaders.
Posted By: alleen

Re: Techtest: lightmap + normalmapping on models - 01/30/08 08:52

quite felicitous if you ask me, reminds me a lil bit of doom 3
too bad the shadows don't change by altering the light sources, but at least processing a prerendered lightmap requires much less system power than a real-time-shadow technique
Posted By: William

Re: Techtest: lightmap + normalmapping on models - 01/30/08 09:56

Screenshots look great, good work guys!

I was wondering about the normalmapping shader though, is it planned to be released public? I need one like this for indoors, and also one for outdoors that supports Ventilators lightmaps and a few dynamic lights. Would be willing to pay for it.
Posted By: fogman

Re: Techtest: lightmap + normalmapping on models - 01/30/08 10:24

No need to pay for it. We will release it as package, that´s a promise.
The community has helped us a lot to achieve this combination.
We just have to make a small testroom with some freebie textures.

As for realtime shadow maps: Just wait and see...
Posted By: Machinery_Frank

Re: Techtest: lightmap + normalmapping on models - 01/30/08 10:40

Yes. We planned to make a little demo for free for the community with less details and less textures but all technology available.

Our plan is to create something that should look better than Doom3. The comibination of static soft radiosity lightmaps plus dynamic lights and moving real-time shadowmapping will deliver a quite good set of tools to create interesting indoor lighting.
Unfortunatelly we have no directional lightmapping like UE or Source but in the end it can look similar, just like a mixture of Stalker, HL2 and Doom3 or Alpha Prime.
At least this is what we are aiming for.

We keep you informed.
Posted By: ello

Re: Techtest: lightmap + normalmapping on models - 01/30/08 11:34

its evolving quite nice. i am curious how the demo will run on my gf6800...
Posted By: Edgecrusher

Re: Techtest: lightmap + normalmapping on models - 01/30/08 23:24

Great stuff, keep it up.

Will you release it packed, or also the source?
Posted By: fogman

Re: Techtest: lightmap + normalmapping on models - 02/01/08 07:49

Source, of course.
Posted By: mpdeveloper_B

Re: Techtest: lightmap + normalmapping on models - 02/01/08 15:08

very nice, now this is good normal mapping, it's not all glossy and plastic, it looks really great, keep up the good work
© 2024 lite-C Forums