You're breathtaking!
This commit is contained in:
12
Content/Editor/Scripting/ShaderTemplate.shader
Normal file
12
Content/Editor/Scripting/ShaderTemplate.shader
Normal file
@@ -0,0 +1,12 @@
|
||||
%copyright%#include "./Flax/Common.hlsl"
|
||||
|
||||
META_CB_BEGIN(0, Data)
|
||||
float4 Color;
|
||||
META_CB_END
|
||||
|
||||
META_PS(true, FEATURE_LEVEL_ES2)
|
||||
float4 PS_Fullscreen(Quad_VS2PS input) : SV_Target
|
||||
{
|
||||
// Solid color fill from the constant buffer passed from code
|
||||
return Color;
|
||||
}
|
||||
Reference in New Issue
Block a user