Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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