ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator How to add Shadow in irredit
person icon
koller202
Registered User
Quote
2007-09-25 21:10:07

getSMGR()->loadScene("map/map.irr");
ISceneNode *scene_node1[30];
scene_node1[1] = getSMGR()->getSceneNodeFromName("tree1");

i can t add  scene_node1[1]->addShadowVolumeSceneNode();

how  to add shadow ?
thank you

person icon
erik
Guest
Quote
2007-09-27 07:28:11

Just test if your scene node is of the type of IAnimatedMeshSceneNode by using getType and then cast it to IAnimatedMeshSceneNode. You can then call addShadowVolumeSceneNode();.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |