View Full Version : Next gen graphics in OGRE?
07-24-2009, 04:06 PM
Hai guise, I'm working freelance on an indie game and we're using the Ogre engine. I've created some environments and characters for this game, but we're having a bit of trouble exporting these to Ogre. The programmer for the project will be looking into it this weekend, but I was wondering if any of you had any experience on using normal mapped assets with specular, AO, etc in this engine.
So... any tips?
+Bonus loveable walrus to melt your manly hearts and allow you to disclose trade secrets for free.
Im currently working with programmers at college for work on my final project game and i know they they did get normal maps and all that shizz working but as im not a programmer i cant really help :/.
But anyways perhaps you could send these guys an email? http://liquidrockgames.blogspot.com/
They are working on a game with parralax and normal mapping and all the fancy shizz.
07-25-2009, 10:03 AM
ogre can definitely do all those things i worked with an ogre based game engine 4 years ago that could do it all those things ^^
07-25-2009, 11:56 PM
There's plenty of info out there for your programmer to look up, even examples that come with the SDK.
It's just a matter of defining a material, creating a technique for that material that uses a shader (hlsl/glsl/cg) and passing all the correct inputs from that technique to the shader (textures, constants, etc).
Take a look at \media\materials\scripts\Examples-Advanced.material and look for materials with 'Bump' or 'Normal' in the name, shouldn't be hard to modify them to include AO, spec map, or whatever else you require.
As for exporting, not totally sure, but you should be able to find a way to get your meshes in to ogre.. just make sure the normal mapped meshes have tangents (If your exporter doesn't do this, you can tell OGRE to build them for you).
If you have trouble with this, I'd recommend posting on the OGRE forums (http://www.ogre3d.org/forums/), they have a helpful community there and they'd be able to help you out better than we can.
if you need more information digital tutors has a video tutorial on how to import work into ogre.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.