Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Aku_Aku, ozgur), 1,095 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lightmap #23255
02/14/04 21:31
02/14/04 21:31
Joined: Aug 2003
Posts: 52
Netherlands
VoodooFactory Offline OP
Junior Member
VoodooFactory  Offline OP
Junior Member

Joined: Aug 2003
Posts: 52
Netherlands
Hi all,

I don't know that much about shader programming, but I was wondering if it would be possible to implement a sort of fake lightmap using shaders. Anyone who has used Maya knows that you can add a greyscale bitmap to a light, which produces an uneven light on your models. For example, if you have a forest scene, you can make a light pattern fall on your scene, as if beams of light were falling through the openings in the canape, without having to actually model every single leaf and branch.
I would be very cool if this could also be done in 3DGS. I would imagine that it wouldn't take much more processing power than your average shader.

Re: Lightmap [Re: VoodooFactory] #23256
02/18/04 06:15
02/18/04 06:15
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
The technique you are looking for is called projective textures. So far I have not seen anyone demonstrate this with A6 shaders, though it should be possible.

Re: Lightmap [Re: Marco_Grubert] #23257
02/18/04 07:07
02/18/04 07:07
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
I did a shader for projective textures some time ago, but it's not very usefull without combining it with depthbuffers, which isn't possible at the moment (at least not via a6).

Re: Lightmap [Re: VoodooFactory] #23258
02/18/04 07:25
02/18/04 07:25
Joined: Aug 2003
Posts: 378
Marion,N.C. USA
Whisper Offline
Senior Member
Whisper  Offline
Senior Member

Joined: Aug 2003
Posts: 378
Marion,N.C. USA
little unsure of the effect you are talking about here one
done with shader in A6, that emit's rays.


Re: Lightmap [Re: Whisper] #23259
02/18/04 13:50
02/18/04 13:50
Joined: Jan 2002
Posts: 1,276
trapped in a paper bag
Drew Offline
Serious User
Drew  Offline
Serious User

Joined: Jan 2002
Posts: 1,276
trapped in a paper bag
thats a strange shader... is it a full scene effect?
love to see a demo...

thanks



Drew Medina
Game Developer (Artist)
Personal & professional website
Deviant Art
My Blogspot
Re: Lightmap [Re: Whisper] #23260
02/18/04 16:54
02/18/04 16:54
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
hey whisper, what are you doing there?? is it your way to extrude the object to gather shadows thru shader? reminds me of a picture i saw on this theme...


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Lightmap [Re: ello] #23261
02/19/04 09:59
02/19/04 09:59
Joined: Aug 2003
Posts: 378
Marion,N.C. USA
Whisper Offline
Senior Member
Whisper  Offline
Senior Member

Joined: Aug 2003
Posts: 378
Marion,N.C. USA
using extrude. but bringing shader into world view in asm,
in action added ent_rotate for extra effects.in you fx
use this on your first or third pass mov r1.w,c20.w in the screenshot i stopped the rotation inorder for the picture to be more visable for everyone.



Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1