Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Shader using method based on multiple platforms and related equipment

A shader and multi-platform technology, applied in the field of image processing, can solve problems such as complex cross-platform shader conversion

Pending Publication Date: 2022-04-15
深圳市趣推科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is that the conversion of the existing cross-platform shaders is relatively complicated. Aiming at the deficiencies of the prior art, a multi-platform based shader usage method and related equipment are provided

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Shader using method based on multiple platforms and related equipment
  • Shader using method based on multiple platforms and related equipment
  • Shader using method based on multiple platforms and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The present invention provides a multi-platform based shader usage method. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0060] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a shader using method based on multiple platforms and related equipment. The method comprises the following steps: acquiring an initial shader to be processed; according to a preset conversion format, converting the initial shader into a plurality of shader files corresponding to the shader format; generating a configuration file corresponding to the initial shader according to the first attribute value of the shader file and the second attribute value of the initial shader; when a rendering instruction is detected, retrieving the configuration file according to a shader format in the rendering instruction to obtain a target attribute value corresponding to the rendering format; according to the second attribute value, performing parameter configuration on a target shader corresponding to the rendering instruction to obtain a rendered shader; and based on the rendering shader, rendering a rendering file corresponding to the rendering instruction. According to the invention, convenient rendering can be realized on different rendering platforms.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a multi-platform based shader usage method and related equipment. Background technique [0002] At present, there are more and more renderers on the market, and the renderers produced by different manufacturers have different advantages. Therefore, cross-platform rendering has become the choice of more and more companies. In the process of cross-platform rendering, writing shaders is the most important part. If there is no cross-platform shader conversion program, it is necessary to manually write shader files for multiple platforms, such as common shader GLSL, ESSL, HLSL, etc., which is very inefficient. Moreover, due to the large number of parameters used in the rendering process, mistakes are often made during the self-compilation process, and the back-end needs to be compiled and debugged continuously. In addition, after the shader file is written on platform A and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/20G06F8/71
Inventor 唐向阳廖舒华
Owner 深圳市趣推科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More