Search found 2 matches
- Tue Dec 16, 2014 9:31 am
- Forum: Beginners Help
- Topic: shadow for unclosed shape
- Replies: 1
- Views: 359
shadow for unclosed shape
hi, i create a cloth scene node in irrlicht. i want to show its shadow(addShadowVolumeSceneNode), found that in irrlicht only generate back face node's shadow. CShadowVolumeSceneNode.cpp line 122 #ifdef IRR_USE_REVERSE_EXTRUDED FaceData =core::triangle3df(v0,v1,v2).isFrontFacing(light); #else FaceDa...
- Tue Dec 16, 2014 5:39 am
- Forum: Bug reports
- Topic: 'light' is a position not a direction in shadow volume
- Replies: 1
- Views: 893
'light' is a position not a direction in shadow volume
file: CShadowVolumeSceneNode.cpp line 122 version: 1.8.1 os:windows 7 description: the param "light"is a position not a direction, here pass it into "isFrontFacing" to check whether the light is front face or not, i think it should pass a direction from light to triangle. now is ...