Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,709 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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