Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
how to set render target
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how to set render target (Read 2826 times)
Disastorm
long
Posts: 161
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
»
Logged
EgonOlsen
Administrator
quad
Posts: 12295
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...
Logged
Disastorm
long
Posts: 161
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.
Logged
EgonOlsen
Administrator
quad
Posts: 12295
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.
Logged
Disastorm
long
Posts: 161
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
how to set render target