fix create new effect needs migration #12651 (#11707)

This commit is contained in:
jk20012001
2022-06-26 22:46:10 +08:00
committed by GitHub
parent 0f5bd9fb7d
commit 7ce49b2673
+3 -3
View File
@@ -4,7 +4,7 @@ CCEffect %{
techniques:
- name: opaque
passes:
- vert: general-vs:vert # builtin header
- vert: legacy/main-functions/general-vs:vert # builtin header
frag: unlit-fs:frag
properties: &props
mainTexture: { value: white }
@@ -25,8 +25,8 @@ CCEffect %{
CCProgram unlit-fs %{
precision highp float;
#include <output>
#include <cc-fog-fs>
#include <legacy/output>
#include <legacy/fog-fs>
in vec2 v_uv;
in vec3 v_position;