更新材质文件名引用
This commit is contained in:
parent
7828468547
commit
f8e2aa6d81
@ -42,8 +42,8 @@ private:
|
|||||||
|
|
||||||
bool InitMaterial()
|
bool InitMaterial()
|
||||||
{
|
{
|
||||||
material=shader_manage->CreateMaterial(OS_TEXT("res/shader/Atomsphere.vert.spv"),
|
material=shader_manage->CreateMaterial(OS_TEXT("res/shader/Atomsphere.vert"),
|
||||||
OS_TEXT("res/shader/Atomsphere.frag.spv"));
|
OS_TEXT("res/shader/Atomsphere.frag"));
|
||||||
if(!material)
|
if(!material)
|
||||||
return(false);
|
return(false);
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
using namespace hgl;
|
using namespace hgl;
|
||||||
using namespace hgl::graph;
|
using namespace hgl::graph;
|
||||||
|
|
||||||
constexpr uint32_t SCREEN_WIDTH=128;
|
constexpr uint32_t SCREEN_WIDTH=1280;
|
||||||
constexpr uint32_t SCREEN_HEIGHT=128;
|
constexpr uint32_t SCREEN_HEIGHT=720;
|
||||||
|
|
||||||
class TestApp:public CameraAppFramework
|
class TestApp:public CameraAppFramework
|
||||||
{
|
{
|
||||||
@ -48,8 +48,8 @@ private:
|
|||||||
|
|
||||||
bool InitMaterial()
|
bool InitMaterial()
|
||||||
{
|
{
|
||||||
material=shader_manage->CreateMaterial(OS_TEXT("res/shader/OnlyPosition3D.vert.spv"),
|
material=shader_manage->CreateMaterial(OS_TEXT("res/shader/OnlyPosition3D.vert"),
|
||||||
OS_TEXT("res/shader/FlatColor.frag.spv"));
|
OS_TEXT("res/shader/FlatColor.frag"));
|
||||||
if(!material)
|
if(!material)
|
||||||
return(false);
|
return(false);
|
||||||
|
|
||||||
|
2
res
2
res
@ -1 +1 @@
|
|||||||
Subproject commit 31bfc6df93dc2b676b1fc912c42c87718ba007b8
|
Subproject commit 23685cd868ff941da4f0974035c8f4aa23594e03
|
Loading…
x
Reference in New Issue
Block a user