www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Grandmaster B on December 15, 2009, 10:22:22 pm

Title: Lightmaps
Post by: Grandmaster B on December 15, 2009, 10:22:22 pm
How can i use lightmaps with the software renderer?
I want to use a diffuse texture and a lightmap.
Title: Re: Lightmaps
Post by: EgonOlsen on December 15, 2009, 10:26:57 pm
You can't...unless you can bake your lighting into the base textures itself in a preprocessing step. That's because the software renderer doesn't support multi texturing, i'm afraid.
Title: Re: Lightmaps
Post by: Grandmaster B on December 16, 2009, 12:38:56 pm
Thanks for the quick answer.
Yes, i use Blender and can easily bake the lightmap into the diffuse texture with it. Thanks for the advice.