Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, 7th_zorro), 893 guests, and 2 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
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 | 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