1311 Commits

Author SHA1 Message Date
98cb564aa5 add ShaderResource.cpp/.h 2020-06-06 19:45:38 +08:00
3440db869a 清除旧的Shader处理代码 2020-06-06 16:38:31 +08:00
9c5f60f513 转移和渲染无关的代码到CMSceneGraph中 2020-06-06 16:37:13 +08:00
6b12034437 修改OpenGL2VulkanMatrix矩阵获取方式,原先的无法使用 2020-05-19 19:02:03 +08:00
f016b0d8c5 init 2020-05-19 17:28:02 +08:00
f161404584 变量改名,以特别提示其定义 2020-04-07 17:56:15 +08:00
3f53b0f65c support Vulkan SDK 1.2 2020-02-08 15:04:02 +08:00
004e0037a4 submodules update 2020-01-23 21:00:35 +08:00
b9249d960c Split vulkan::Device::CreateAttachmentDescription to a new function. 2020-01-21 16:23:01 +08:00
c2b7f196ed 全面使用MaterialInstance封装Material与DescriptorSets 2020-01-20 20:00:03 +08:00
2fceaa4f8b use MaterialInstance in texture_rect sample 2020-01-20 16:35:43 +08:00
f947a0746a 增加VKMaterialInstance类 2020-01-20 15:39:39 +08:00
e2811f2b2b 增加FragCoord属性测试 2020-01-20 15:02:40 +08:00
d532e0d04c 1.add resolution in WorldMatrix
2.add object_position/object_size in PushConstant
2020-01-19 21:53:44 +08:00
818946a7e7 1.delete MaterialData.h
2.add StandardMaterial and PBRMaterial
2020-01-14 18:09:40 +08:00
8e6f672505 add NormalMatrix in PushConstants 2020-01-13 20:13:48 +08:00
1a75ab0101 add platform limts 2020-01-13 14:50:24 +08:00
5d496298bc add ForceDiscreteGPU.c 2020-01-13 14:48:45 +08:00
148372a601 add WorldMatrix.h 2020-01-11 21:28:41 +08:00
f3961d7c6b add shader 2020-01-10 18:04:52 +08:00
e77cb00e89 redefine folder tree of material 2020-01-09 17:40:39 +08:00
93d680926e add new MaterialComponent 2020-01-09 16:53:30 +08:00
a331286b30 add ColorSpace.h 2020-01-07 18:14:16 +08:00
909dbb0fd9 add NativeValue define. 2019-12-27 19:31:42 +08:00
1ec3542ac8 test ComboVector1to3 shader 2019-12-20 22:08:10 +08:00
f6417e79d0 add comboVector and splitVector node 2019-12-19 18:08:27 +08:00
7dd42cb369 1.ShaderNode "VertexInput" add "Double" support
2.use Macro to instead repeat code
2019-12-18 20:33:46 +08:00
7852b59e20 the ShaderMaker can run first version. 2019-12-18 20:12:56 +08:00
f9531064b6 update ShaderMaker 2019-12-16 20:35:51 +08:00
791a034085 base struct of ShaderMaker 2019-12-15 20:51:11 +08:00
751caa1db8 create "enum class NodeType" instead "Node::type_name" 2019-12-14 20:52:58 +08:00
0aaec981b2 to improved the CreateDefaultVertexShader() 2019-12-14 13:42:16 +08:00
e61ed1d146 first build&test ok of ShaderMaker 2019-12-13 17:55:20 +08:00
2fa918c00d first finished check function of ShaderMaker.wait test. 2019-12-13 11:20:08 +08:00
c3a3275f12 update struct 2019-12-12 22:25:40 +08:00
5deb57460c create stand-alone shader common.h 2019-12-10 22:12:09 +08:00
c37a858524 splite to many header files from shader's node/param 2019-12-10 21:52:10 +08:00
793b61b6a8 add shader node header files. 2019-12-06 21:45:51 +08:00
834cb48fa9 support B10GR11UF format texture files. 2019-12-04 21:05:09 +08:00
a3ce45ffa8 use tiling instead use_optimal/use_linear 2019-12-03 22:13:11 +08:00
33a6f3f6e4 delete TGATexture 2019-12-03 21:24:23 +08:00
8515f41718 exchange LoadTGATexture to CreateTextureFromFile for texture_rect sample 2019-12-03 20:48:42 +08:00
0d353d47cb delete TextureType.h 2019-12-03 17:03:42 +08:00
0e6db3b1dc 删除DevIL 2019-11-27 19:11:37 +08:00
338558205e 修复至可运行 2019-11-26 00:33:24 +08:00
f5cafb91b8 建立独立的VKDeviceSwapchain.cpp将交换链创建相关代码移到这里 2019-11-26 00:22:54 +08:00
5846913197 新的纹理创建 2019-11-25 22:05:05 +08:00
dc50f1e0d3 增加新的CheckInstanceLayer函数 2019-11-13 20:50:34 +08:00
c6b6773101 新增VulkanInstanceLayer可自定义指定 2019-11-13 19:55:13 +08:00
2ac749bf95 VKInstance类删除多余的ExtList 2019-11-13 16:10:42 +08:00