Search found 7 matches

by mehwoot
Sat Feb 02, 2013 7:30 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 436606

Re: XEffects - Reloaded - New Release (V 1.3)

Is there any way to get casting shadows working on transparent materials? It seems like when a shadow is cast on a mesh with material type EMT_TRANSPARENT_ALPHA_CHANNEL_REF, you get a problem where anything behind the material in a place that is transparent gets any shadow effect cast on the transpa...
by mehwoot
Wed Mar 30, 2011 9:31 am
Forum: Beginners Help
Topic: Different Textures on one Material?
Replies: 5
Views: 666

Thanks, that clears things up.
by mehwoot
Wed Mar 30, 2011 8:43 am
Forum: Beginners Help
Topic: Different Textures on one Material?
Replies: 5
Views: 666

Yeah thanks, I just thought of that once I had posted, that I should combine everything into one texture and use the coordinates. It's not slow to have a big texture like that, is it?
by mehwoot
Wed Mar 30, 2011 8:20 am
Forum: Beginners Help
Topic: Different Textures on one Material?
Replies: 5
Views: 666

Different Textures on one Material?

So I notice that SMaterial.setTexture takes an index, and a texture, so a material can have multiple textures. How do the polygons being drawn choose between the different textures they want to be drawn with? E.g. I use video::IVideoDriver* driver = SceneManager->getVideoDriver(); driver->setMateria...
by mehwoot
Sun Mar 20, 2011 10:46 am
Forum: Beginners Help
Topic: Basic Optimizations?
Replies: 4
Views: 414

Thanks for the info guys, i was sure I was missing something and it seems like batching is that thing.
by mehwoot
Sun Mar 20, 2011 10:32 am
Forum: Beginners Help
Topic: Basic Optimizations?
Replies: 4
Views: 414

Basic Optimizations?

So I'm creating a game, and I've encountered a bit of a limit with the drawing by Irrlicht considerably slowing down at a point. The game is essentially just a world with a whole lot of boxes in it, similar to minecraft if you've played that game. At around about ~10,000 boxes, it starts getting rea...
by mehwoot
Tue Jul 17, 2007 7:56 am
Forum: Beginners Help
Topic: four questions associated with camera-enemy interaction
Replies: 4
Views: 364

core::line3d<f32> line; core::position2d<s32> RightMousePosition(rightX,rightY); line.start = camera->getPosition(); line.end = smgr->getSceneCollisionManager()->getRayFromScreenCoordinates(RightMousePosition,camera); It worked for me using core::line3d<f32> line = device->getSceneManager()->getSce...