- Home /
Alpha channel support for Skybox/Cubemap shader
Hi. Im zero in shaders. Although I have question about it. Is it possible to modify the Skybox / Cubemap shader to support alpha channel or it's impossible cause it has foundation tag "Queue"="Background"?It will be wonderful if you make hint how to do this.
interesting question. What would you expect to show up "behind" it, e.g. what would the transparency make visible? If the answer is: just another background texture, you could combine the alpha containing texture, and the "actual" background texture yourself, THEN apply it to the material.
Of course, if you want to say.. rotate one and not the other, that wouldn't work.
Unfortunately it's not a solution. Thanks for reply anyway.
The answer is, this is not possible because as Glurth pointed out, there isn't anything "past the skybox" Unless your shader handles a secondary texture rendered "behind" the main texture. What I think you want is an inverted sphere with a cubemap texture that supports alpha channel. However, it wouldn't give you an infinite skybox, but it's the only way to make objects beyond the skybox.
I planning render other skybox under transparent skybox