≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Object Fade
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: [quote][b][/b] wrote: [quote]// fully transparent (1) to opaque (0) var amt = ccbGetCopperCubeVariable("transparency"); var node = ccbGetSceneNodeFromName("object"); ccbSetSceneNodeMaterialProperty(node, 0, "Param1", amt); print("transparency is: " + amt); [/quote] I did this and the code works just fine but the problem is that Param1 doesn't seem to actually affect anything. Fiddling with Param1 in the Irrlicht panel doesn't change opacity nor does the code during runtime. I have not seen Param1 change anything yet and have no idea what the problem could be.[/quote] It will work if you use a png image file with transparency in it. I think TGA files can also have transparency. dont use JPG or BMP or other formats[/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