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.
Unity3d Occlusion intensity controller
Re: Unity3d Occlusion intensity controller
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.
- Attachments
-
- Снимок-экрана-2018-08-30-в-15.13.39.jpg (76.77 KiB) Viewed 5388 times
Re: Unity3d Occlusion intensity controller
Thank you riyusaki.Now i can control the intensity.tyvmriyusaki 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.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Unity3d Occlusion intensity controller
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!
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!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!