Commit Graph

4 Commits

Author SHA1 Message Date
jk20012001 3cf9aaee4e arrange chunks (#11551)
* arrange chunks

* update compiled shaders

* code style
2022-06-16 22:14:09 +08:00
jk20012001 a83ad12022 fix surface shader runtime macros don't match attribute and uniform define (#11319)
* fix surface shader runtime macro doesn't match
fix surface shader include

* fix compiling error

* fix varying location missing

* fix vk fs shadowbias binding error

* fix vk fs shadowbias binding error

* fix vulkan binding flag not match

* revert binding flags

* fix vulkan error, remove CCLocal from PS
2022-06-06 15:14:32 +08:00
jk20012001 63878dea48 fix isnan(0.0) with webgl1.0 (#11262)
* fix isinf(0.0)==true with webgl1.0

* code style
2022-05-27 21:37:55 +08:00
jk20012001 0ecaa8db51 add surface shader (#11048)
* add surface shader

* remove unused item

* arrange main-functions

* arrange main-functions

* fix compatible lighting mode
2022-05-13 21:18:22 +08:00