Specularity lighting in irrlicht?
BlitzMax Forums/BlitzMax Programming/Specularity lighting in irrlicht?
| ||
This is aimed more at Gman or whom ever can answer this but is there a way to do specularity lighting in bmax irrlicht? Thanks in advance |
| ||
currently specular lighting is only available in the DX Irrlicht drivers. edit the shininess (specular size) property on the material of a node and enable lighting for the node.mynode.setMaterialFlag(EMF_LIGHTING, True) ' enable dynamic lighting mynode.getMaterial(0).SetShininess(20.0) ' set size of specular highlights for an implemented example see sample 13.RenderToTexture. hope that helps you out :) |
| ||
thanks alot :) im actually sticking with directx drivers anyways. Thanks again |