什么是GLSL?它在图形渲染管线中的作用是什么?
What is GLSL? What role does it play in the graphics rendering pipeline?
*考察点:GLSL基础概念。*
共 48 道题目
What is GLSL? What role does it play in the graphics rendering pipeline?
What are the versions of GLSL? What are the main differences between different versions?
What is the basic structure of a GLSL program? How to write the simplest shader?
What is the compilation and linking process in GLSL?
What are the basic data types in GLSL? What are their characteristics?
What are the vector types in GLSL? How to access vector components?
What are uniform, attribute, and varying variables? What are their differences?
How to use matrix types in GLSL? What are the common matrix operations?
What is a Sampler in GLSL? What types are there?
What is the role of vertex shaders? Where are they in the rendering pipeline?
What is gl_Position? How to use it?
How to perform coordinate transformations in vertex shaders?
What are the commonly used built-in variables in vertex shaders?
How to pass data from vertex shader to fragment shader?
What is the role of fragment shaders? What data does it process?
What is the difference between gl_FragColor and gl_FragData?
How to perform texture sampling in fragment shaders?
How to implement simple color blending in fragment shaders?
What are the commonly used mathematical functions in GLSL? What are their application scenarios?
What are the vector and matrix operation functions in GLSL?
What are the texture lookup functions in GLSL? What are their differences?
How to use GLSL geometric functions (length, distance, dot, cross, etc.)?
How to use interpolation functions (mix, smoothstep, step, etc.) in GLSL?
How to implement Lambert diffuse lighting model in shaders?
How to implement Phong specular effect in fragment shaders?
How to implement Normal Mapping in shaders?
How to handle lighting calculations for multiple light sources in shaders?
How to implement texture Mipmapping in GLSL?
How to implement Cubemap sampling in shaders?
How are texture coordinate wrap modes reflected in shaders?
How to create and use custom shaders in WebGL?
How to use ShaderMaterial in Three.js?
How to use WebGL attributes and uniforms in shaders?
How to debug GLSL shader code? What are the common debugging methods?
How to implement Physically Based Rendering (PBR) in shaders?
How to implement Screen Space Reflection (SSR) using shaders?
How are shaders organized in Deferred Rendering?
How to implement Volumetric Lighting effects in shaders?
What is the implementation principle of Shadow Mapping in shaders?
How to implement water surface effects using shaders? What factors need to be considered?
How to implement particle system rendering in shaders?
How to implement post-processing effects (such as Bloom, blur) using shaders?
How to implement procedural texture generation in shaders?
What are the performance optimization strategies for GLSL shaders?
How to reduce the performance impact of branches and loops in shaders?
What is the impact of shader precision on performance and quality?
How to implement GPU computing (GPGPU)? What is the role of shaders in it?
How to design reusable shader libraries? What are the best practices for modular shaders?