Author Topic: how to set render target  (Read 2809 times)

Offline Disastorm

  • long
  • ***
  • Posts: 161
    • View Profile
how to set render target
« on: June 04, 2011, 11:59:07 am »
*edit nm i figured it out.  I had to set environment mapping on my object.

However, I noticed the texture doesnt seem to have any antialiasing.  Is there a way to render to it with anti aliasing?
« Last Edit: June 04, 2011, 12:29:44 pm by Disastorm »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: how to set render target
« Reply #1 on: June 04, 2011, 05:00:15 pm »
No, anti-aliasing is not possible in that context. I don't understand what env-mapping has to do with render targets, but if all works fine now...

Offline Disastorm

  • long
  • ***
  • Posts: 161
    • View Profile
Re: how to set render target
« Reply #2 on: June 06, 2011, 11:36:33 am »
i dunno, if i didnt set the environment mapping it just showed up as a weird solid color that would change colors when i moved the camera but it didnt really look like anything.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: how to set render target
« Reply #3 on: June 06, 2011, 12:47:08 pm »
Well, that depends on the object. If it has no proper uv-coordinates, texturing won't look right. Enabling environment mapping creates some coordinates on the fly but it might not look right on objects that are not shiny.

Offline Disastorm

  • long
  • ***
  • Posts: 161
    • View Profile
Re: how to set render target
« Reply #4 on: June 07, 2011, 11:49:46 am »
ah i see, I did not put any textures originally on the object so I think it must not have any UV.