Page 1 of 1

Unity3d Occlusion intensity controller

PostPosted: Thu Aug 30, 2018 11:14 am
by jay_16
How to create a Shader in which I can control the intensity of the occlusion texture in Unity3d??
I am using an Object with 2 UV sets. On UV1 I want to control the intensity of texture ambient occlusion and on UV2i want to control the intensity of Object ambient occlusion.

Re: Unity3d Occlusion intensity controller

PostPosted: Thu Aug 30, 2018 11:55 am
by riyusaki
I used the power node for this purpose. To switch the mapping channels using the scheme with "texturesCoordinates" and "StaticSwitch" but there are disadvantages, "tiling" and "offset" in this scheme is not taken from "SampleTexture" and from "TexturesCoordinates" it requires the creation of "tiling" and "offset" separately for each UVset.

Re: Unity3d Occlusion intensity controller

PostPosted: Thu Aug 30, 2018 12:33 pm
by jay_16
riyusaki wrote:I used the power node for this purpose. To switch the mapping channels using the scheme with "texturesCoordinates" and "StaticSwitch" but there are disadvantages, "tiling" and "offset" in this scheme is not taken from "SampleTexture" and from "TexturesCoordinates" it requires the creation of "tiling" and "offset" separately for each UVset.


Thank you riyusaki.Now i can control the intensity.tyvm

Re: Unity3d Occlusion intensity controller

PostPosted: Thu Aug 30, 2018 2:48 pm
by Amplify_Borba
Hello Jay, thank you for getting in touch and for your support!

Happy to see that riyusaki was kind enough to reply, please don't hesitate to get back in touch if you have any further questions, hope that you're enjoying your time with ASE!