Hi,
In a shader SPDL file, I set a parameter of type texture like this :
And when creating the shader, I get the "NoIcon_Pic" but it is considered and used as a texture by my shader. I would like to have nothing set in the texture parameter as default and not a bitmap which represent a no icon.Code:PropertySet "Example_pset" { Parameter "OcclusionTexture" input { title = "Ambient occlusion"; guid = "{91F405C0-213D-4241-AB75-8ACE3A4668CD}"; type = texture; flags = 0; texturable = on; writable = on; animatable = on; persistable = on; readable = on; inspectable = on; } ... } BEGIN "{24810490-56FF-11d2-BF23-00A0C982CE5D}" Defaults { OcclusionTexture { Description = "Ambient occlusion"; Commands = "{F5C75F11-2F05-11d3-AA95-00AA0068D2C0}"; UIType = "ImageBrowserItem.ImageBrowserItem.1"; Items { } } ... }
Is that possible ?
Thank you.
Regards,


Reply With Quote