You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I want to ask if there have a way to change blit material in run time through script?
I am not familiar with scriptable render pipeline and I can't find any useful information about it.
It will be a big thanks if you can tell me about it!
The text was updated successfully, but these errors were encountered:
You can obtain a reference to the Blit feature by using a global field that you can set in the inspector.
public class Example : MonoBehaviour {
public Blit blit;
public Material newMaterial;
public void Start() {
blit.SetActive(true);
blit.settings.blitMaterial = newMaterial;
}
}
Hi, this feature is working fine on my project :)
but I want to ask if there have a way to change blit material in run time through script?
I am not familiar with scriptable render pipeline and I can't find any useful information about it.
It will be a big thanks if you can tell me about it!
The text was updated successfully, but these errors were encountered: