1319 Commits

Author SHA1 Message Date
0d6f7758ec add color support in CreateRenderableBoundingBox() 2020-06-20 15:43:38 +08:00
4cf5b0dce3 PushConstant暂时只保留local_to_world 2020-06-12 15:51:56 +08:00
880876b8b2 VKCommandBuffer add a new function SetRenderArea(const VkExtent2D &) 2020-06-11 19:23:51 +08:00
532a8e3b56 update support VkVulkanSDK 1.2.141 2020-06-11 18:25:08 +08:00
26a434e9fb example the first_triangle support ShaderResource 2020-06-10 17:11:24 +08:00
d94e6dee6c use ShaderResource instead ShaderParse 2020-06-09 19:40:08 +08:00
30b5639acc improvement the ShaderResource module 2020-06-09 14:05:20 +08:00
ca44bf2cf7 first version of ShaderResource 2020-06-08 19:12:29 +08:00
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