Jump to content

Render on top of initial render


nick.ace
 Share

Recommended Posts

Anything you draw after world->Render() will be drawn ontop of the world - so an alternative approach would be to use the RTT( render to texture ) tutorial and and render the character as a transparent sprite ontop.

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

@Aggror: I tried that, and it works to some extent, but when you use a mesh with multiple textures, the textures start cutting through each other. With the character I'm using, the person starts to look like a zombie. biggrin.png

 

@Genebris and Guppy: That looks like it should work. Thanks! I'll test later today.

 

Edit: I tested it, but the game crawls after that. I think I'm just going to take a much simpler route with prerendered images of the characters since this would be quicker and easier to implement.

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...