Page 1 of 1

CameraBackColor(#Handle,-1) for transparency?

Posted: Sun Sep 15, 2013 11:44 pm
by Samuel
After looking through the forums. I found that in previous PB versions you could give the camera background color transparency.
Then with that transparency you could add static sprites behind entities to give it a screen wallpaper effect. I'm not sure if it was removed because of a bug or if it just could no longer be supported.

I'm wondering if this is a command that might return in a future release? That or is there a new way of accomplishing this?

Also, I tried working with billboards, planes, and skyboxs to get a similar effect, but they just don't look as good as a 2D Background image would.
Especially when dealing with camera movement.

Thanks.

EDIT: I just saw that this was in the feature request list. It's his first request.
http://www.purebasic.fr/english/viewtop ... =3&t=54392

I'll leave this post up though. Just in case someone has found an answer or a decent workaround.

Re: CameraBackColor(#Handle,-1) for transparency?

Posted: Mon Sep 16, 2013 8:43 pm
by Samuel
Hello Alexi,

That's not quite what I'm looking for. Let's see if I can explain myself better.
Instead of having color for the camera background I would like to use a texture instead. In the past you could do this by giving the camera background transparency and then
add a sprite. I edited an image to show the effect.

Image

Instead of camera color behind the Ogre I now have a wood texture. This is not the same as just adding a plane or skybox.
It's like having a 2D sprite on your screen that is rendered behind the entites.

Re: CameraBackColor(#Handle,-1) for transparency?

Posted: Tue Sep 17, 2013 10:08 pm
by Samuel
I agree with you. For now that seems to be the only way of doing this.

It would be nice if they could return this camera feature in the future. That or create a new way to add texture to a camera.
I guess it's not the end of the world if they don't though. I'll make do with what I have.

Thanks for the help.