[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5150: file_get_contents(https://freedomsponsors.org/api/project/294): failed to open stream: HTTP request failed! HTTP/1.1 502 Bad Gateway
Lightmapping in Torque3D - Page 2 - Forums | Torque 3D

Lightmapping in Torque3D

Materials, textures, lighting, postfx
  • 1
  • 2
12 posts Page 2 of 2
Dwarf King
Posts: 155
Joined: Thu Feb 05, 2015 7:20 pm
by Dwarf King » Sat May 21, 2016 6:13 am
PureLight is really a nice tool that would be a shame not to have around for Torque 3D.
Steering Committee
Steering Committee
Posts: 694
Joined: Tue Feb 03, 2015 9:49 pm
by JeffR » Mon Jun 06, 2016 5:35 pm
ThomasPittman wrote:You should be able to put the lightmaps that you generate yourself from Blender into the same material lightmap slots. There's no support currently for generating UV2's or baking lightmaps directly inside of Torque3D. We had planned once on integrating pureLIGHT directly into the Torque3D editor but those talks fell apart years ago.

I don't remember all the details of how the Torque3D lightmapping works, its been many years since I last looked at it. There were flags to indicate which lights were included in the lightmaps to avoid double-lighting meshes. I don't know if much has changed since then.

I did experiment once with changing the way Torque3D internally stores its lightmaps. It wasn't too hard to make them assignable per mesh and point them at a part of a larger lightmap atlas instead of a separate texture like it currently requires. I believe I still have the code for doing that kicking around on my computer, though that would have been for a version of Torque3D many years old by now.

If you've still got the code, I wouldn't at all mind having a gander at it. I've been mulling on getting baked lighting back into the fold for 4.0-ish, so anything that'd jumpstart on that would be incredibly useful.
  • 1
  • 2
12 posts Page 2 of 2

Who is online

Users browsing this forum: No registered users and 2 guests