Alienhead Posted March 20, 2022 Posted March 20, 2022 Last question for awhile ( i swear ). I could not find much information regarding importing a mesh with 2 uv sets, or how I would go about applying a ready made lightmap texture to a model imported into LE 4.6. I found this in the forums - But its mainly how to make light maps in Blender, i have the lightmapps and odel with uv's already . just cant figure out how to apply them in LE. Thanks for any help provided. Quote Alienhead Components and Software
Thirsty Panther Posted March 20, 2022 Posted March 20, 2022 Try https://www.leadwerks.com/learn?page=API-Reference_Object_Asset_Material_SetTexture and https://www.leadwerks.com/learn?page=API-Reference_Object_Surface_SetMaterial Quote
Genebris Posted March 20, 2022 Posted March 20, 2022 Does latest version of Leadwerks even have lightmapping support at all? I'm only aware of shadow masks. Quote
Alienhead Posted March 20, 2022 Author Posted March 20, 2022 No LE doesn't speak of lightmapping. My hope was to bring in external pre-lightmapped mesh and treat it as a normal map object.. No luck so far. Quote Alienhead Components and Software
Genebris Posted March 20, 2022 Posted March 20, 2022 I guess you need to implement a shader that multiplies diffuse texture by uv1 texture. Quote
Recommended Posts
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.