bmap_process

Posted By: jenGs

bmap_process - 05/15/12 21:36

Hi,
I have a dumb question about bmap_process.
You can give a Target and a Source map.
The manual say's that you can get the targetmap through the
"TargetMap" shader var.
But how do I get the source map, the second map you can pass through bmap_process.
MfG,
Patrick
Posted By: txesmi

Re: bmap_process - 05/16/12 09:11

Hi!

The TargetMap inside the shader is the SourceMap, and it is rendered over the TargetMap in the bmap_process. Yes, it is a bit confusing xP

Salud!
Posted By: jenGs

Re: bmap_process - 05/16/12 09:29

Thank you laugh
Follow up question:
I have bitmap pointer that are no longer valid after some time.
I use them to blend through some panel states with bmap_process.
It seems, that the shader is still running after bmap_process and didn't like invalid pointer.
"Can't create DX Texture" it constantly say's.
Can somebody tell me how to stop the shader?
Posted By: txesmi

Re: bmap_process - 05/16/12 10:22

Hi!
I can't reproduce an error in A8. I tried deleting both bmaps with no problems. What 3dgs version are you using? Could you publish an example?

Salud!
Posted By: Rei_Ayanami

Re: bmap_process - 05/16/12 11:11

After executing bmap_process you have to copy the image, or it will stay a render target.

bmap_blit is your friend here.
© 2024 lite-C Forums