≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Point light cast no shadow?
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b][/b] wrote: No, I haven't tried the plugin. Thanks for mentioning. I'll give it a try but I would like to do as much as possible from scratch so I have a better understanding of how everything works and have full control. For example, I tried to use this code to change the direction property of the light but it doesn't work: [code]var sun = ccbGetSceneNodeFromName("sun"); var direction = ccbGetSceneNodeProperty(sun, "Direction"); direction += 10; ccbSetSceneNodeProperty(sun, "Direction", direction);[/code] I get no error message, so in theory everything is fine but the shadows doesn't change :( I'm not sure what else I can try, the plugin is nice thanks again, but I would like to find a solution to this.[/quote]
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
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact