Use relative path instead of absolute path for package
parent
c4453f25e5
commit
6bccface4c
|
@ -57,7 +57,7 @@ Shader "UI/Default-SoftMask"
|
||||||
#pragma multi_compile __ UNITY_UI_CLIP_RECT
|
#pragma multi_compile __ UNITY_UI_CLIP_RECT
|
||||||
#pragma multi_compile __ UNITY_UI_ALPHACLIP
|
#pragma multi_compile __ UNITY_UI_ALPHACLIP
|
||||||
|
|
||||||
#include "Assets/Coffee/UIExtensions/SoftMaskForUGUI/SoftMask.cginc" // Add for soft mask
|
#include "./../../SoftMask.cginc" // Add for soft mask
|
||||||
#pragma shader_feature __ SOFTMASK_EDITOR // Add for soft mask
|
#pragma shader_feature __ SOFTMASK_EDITOR // Add for soft mask
|
||||||
|
|
||||||
struct appdata_t
|
struct appdata_t
|
||||||
|
|
|
@ -126,7 +126,7 @@ SubShader {
|
||||||
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc"
|
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc"
|
||||||
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc"
|
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc"
|
||||||
|
|
||||||
#include "Assets/Coffee/UIExtensions/SoftMaskForUGUI/SoftMask.cginc"
|
#include "./../SoftMask.cginc"
|
||||||
#pragma shader_feature __ SOFTMASK_EDITOR
|
#pragma shader_feature __ SOFTMASK_EDITOR
|
||||||
|
|
||||||
struct vertex_t {
|
struct vertex_t {
|
||||||
|
|
|
@ -91,7 +91,7 @@ SubShader {
|
||||||
#include "UnityUI.cginc"
|
#include "UnityUI.cginc"
|
||||||
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc"
|
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc"
|
||||||
|
|
||||||
#include "Assets/Coffee/UIExtensions/SoftMaskForUGUI/SoftMask.cginc"
|
#include "./../SoftMask.cginc"
|
||||||
#pragma shader_feature __ SOFTMASK_EDITOR
|
#pragma shader_feature __ SOFTMASK_EDITOR
|
||||||
|
|
||||||
struct vertex_t {
|
struct vertex_t {
|
||||||
|
|
|
@ -56,7 +56,7 @@ Shader "TextMeshPro/Sprite (SoftMaskable)"
|
||||||
#pragma multi_compile __ UNITY_UI_CLIP_RECT
|
#pragma multi_compile __ UNITY_UI_CLIP_RECT
|
||||||
#pragma multi_compile __ UNITY_UI_ALPHACLIP
|
#pragma multi_compile __ UNITY_UI_ALPHACLIP
|
||||||
|
|
||||||
#include "Assets/Coffee/UIExtensions/SoftMaskForUGUI/SoftMask.cginc"
|
#include "./../SoftMask.cginc"
|
||||||
#pragma shader_feature __ SOFTMASK_EDITOR
|
#pragma shader_feature __ SOFTMASK_EDITOR
|
||||||
|
|
||||||
struct appdata_t
|
struct appdata_t
|
||||||
|
|
Loading…
Reference in New Issue