Jump to content

drawing behind level


beo6
 Share

Recommended Posts

Hello. After some longer break i am back to developing.

 

And here is my first small problem i encountered.

 

I want to draw an image into the background of the map.

 

So i draw the image before i call

world->Render();

 

But currently it draws only Black.

i can overwrite the Black with

camera->SetClearColor(1,0,0,1);

(Alpha seems to do nothing)

 

 

Thanks in advance for any hint.

Link to comment
Share on other sites

yes. it does not need to move though. I only want a simple background so it does not look so blank.

And i want to keep the levels as simple as possible also for performance reasons since it is planned as a mobile game.

 

i tried to put a big box into the background and put the texture on it. It worked but was not very fast.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...