Gamestudio Links
Zorro Links
Newest Posts
Bug in train mode, or it seem to me
by mistery. 09/24/26 17:34
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 09/22/26 12:21
Capital slider is not saving in Z12
by Petra. 09/22/26 06:49
Parent/child object
by VoroneTZ. 09/22/26 05:52
Zorro tutorial ideas?
by AndrewAMD. 09/21/26 14:50
Trades during a running bar
by Martin_HH. 09/21/26 12:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Knull, LoT), 13,663 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Knull, Opus, Jubilee, lopezsergio07, mistery
19240 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Extract lightmap from blocks #409091
10/11/12 13:44
10/11/12 13:44
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline OP
Member
jenGs  Offline OP
Member
J

Joined: Jul 2010
Posts: 283
Germany
Hi,

I need a method to extract the lightmap of blocks.
Because I don't know any function to access the lightmap of a block, I have to use a shader. My shader knowledge is ... äh weak. I only wrote Post Porcessing shader in combination with bmap_process. But I can't use this either, because blocks are not exposed as entities, arn't they?
I need to copy the lightmap information into another bitmap and I have no Idea about object shaders.
Any tipps?

Greetings,
patrick

Re: Extract lightmap from blocks [Re: jenGs] #409171
10/12/12 20:31
10/12/12 20:31
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline OP
Member
jenGs  Offline OP
Member
J

Joined: Jul 2010
Posts: 283
Germany
Ok, guys, I figured it out. I simply used the pixel shader part to copy the information into another bmap.

Re: Extract lightmap from blocks [Re: jenGs] #412504
11/28/12 01:53
11/28/12 01:53
Joined: Jan 2009
Posts: 78
always overseas
S
SeaCancer Offline
Junior Member
SeaCancer  Offline
Junior Member
S

Joined: Jan 2009
Posts: 78
always overseas
This is the same requirement here laugh
so the pixel part is the trick, I will try that


Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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