www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Disastorm on June 04, 2011, 11:59:07 am

Title: how to set render target
Post by: Disastorm 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?
Title: Re: how to set render target
Post by: EgonOlsen 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...
Title: Re: how to set render target
Post by: Disastorm 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.
Title: Re: how to set render target
Post by: EgonOlsen 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.
Title: Re: how to set render target
Post by: Disastorm 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.