Cross-platform shader language configuration method
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 广州引力波信息科技有限公司
- Publication Date
- 2021-04-06
Abstract
Description
technical field
[0001] The invention relates to the technical field of computers, in particular to a cross-platform shader language configuration method. Background technique
[0002] The different architectures between different engines lead to each engine having its own set of shader compilation systems. Among them, the Realibox engine uses macros to dynamically generate and compile shader languages, and the Unity engine uses the entire shader code for compilation, resulting in There is a problem of inconsistent rendering effects between the Unity engine and the Realibox engine, and the problem of inconsistent rendering effects under the GPU architecture of different platforms. Contents of the invention
[0003] In order to solve the deficiencies of the prior art, the embodiment of the present invention provides a cross-platform shader language configuration method, the method includes the following steps:
[0004] On the Unity engine side, convert the rendering algorit...