Rastar Posted December 30, 2012 Share Posted December 30, 2012 Hi, I'm new to the Leadwerks Engine and just settling in... I generate my terrains using World Machine which can also output normal maps, principally at arbitrary resolutions (using tiled builds) Is it possible to import a normal map for the terrain, either via the editor or programmatically? Would it be possible to use a normal map at a higher resolution than the maximum 4096 to make the terrain appear more detailed? Thanks, Hauke Quote Link to comment Share on other sites More sharing options...
Flexman Posted December 30, 2012 Share Posted December 30, 2012 I do this using GROME just fine but I only use exported terrains as separate 3D meshes, not as a native terrain object. I'm not sure if the base map of the terrain entity takes a normal map, but could probably be fudged to do so. Like all the other shaders thay are packed into SHADERS.PAK, unzip and tweak. It's something I should look into. edit: Looks like the normalmap is taken in on texture channel 14 (in terrain.frag) but no idea how you load that in the editor. Quote 6600 2.4G / GTX 460 280.26 / 4GB Windows 7 Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT Tricubic Studios Ltd. ~ Combat Helo Link to comment Share on other sites More sharing options...
Rastar Posted January 16, 2013 Author Share Posted January 16, 2013 Yeah, couldn't find a way set this in the editor, too. I tried to set it in the sbx file by specifying a filename for texture14, but that didn't seem to have an effect. Maybe there is a naming convention or something, or you simply can't do that? Quote Link to comment Share on other sites More sharing options...
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.