Add flame

This commit is contained in:
Lauri Räsänen 2023-07-15 19:07:37 +03:00
parent 35b9c1f4f9
commit 059afdc5e7
5 changed files with 153 additions and 0 deletions

44
flame.sprj Normal file
View file

@ -0,0 +1,44 @@
<?xml version="1.0"?>
<project version="2">
<pipeline>
<pass name="Flame" type="shader" active="true" patchverts="1">
<shader type="vs" path="shaders/flame_FlameVS.glsl" entry="main" />
<shader type="ps" path="shaders/flame_FlamePS.glsl" entry="main" />
<inputlayout>
<item value="Position" semantic="POSITION" />
</inputlayout>
<rendertexture />
<items>
<item name="Quad" type="geometry">
<type>ScreenQuadNDC</type>
<width>1</width>
<height>1</height>
<depth>1</depth>
<topology>TriangleList</topology>
</item>
</items>
<itemvalues />
<variables>
<variable type="float2" name="uResolution" system="ViewportSize" />
<variable type="float" name="uTime" system="Time" />
</variables>
<macros />
</pass>
</pipeline>
<objects />
<cameras />
<settings>
<entry type="property" name="Flame" item="pipe" />
<entry type="file" name="Flame" shader="vs" />
<entry type="file" name="Flame" shader="ps" />
<entry type="camera" fp="false">
<distance>4</distance>
<pitch>25</pitch>
<yaw>319</yaw>
<roll>360</roll>
</entry>
<entry type="clearcolor" r="0" g="0" b="0" a="0" />
<entry type="usealpha" val="false" />
</settings>
<plugindata />
</project>