代码搜索:GLSL

找到约 91 项符合「GLSL」的源代码

代码结果 91
www.eeworm.com/read/339446/3306037

glsl painter.glsl

uniform sampler2D dst_texture; uniform sampler2D mask_texture; uniform vec2 inv_mask_size; uniform vec2 inv_dst_size; uniform vec2 mask_offset; uniform vec4 mask_channel; float mask() { return do
www.eeworm.com/read/339446/3306040

readme-glsl

Use of GLSL for vertex and fragment programs in Qt --------------------------------------------------- We don't compile the *.glsl files because we don't want the build process of Qt to require cgc f
www.eeworm.com/read/339446/3306061

glsl ellipse.glsl

#include "ellipse_functions.glsl" void main() { gl_FragColor = ellipse(); }
www.eeworm.com/read/298327/3868311

glsl terrainvertexshader.glsl

/* --------------------------------------------------------------------- Terrain Renderer using texture splatting and geomipmapping Copyright (c) 2006 Jelmer Cnossen This software is pr
www.eeworm.com/read/298327/3868319

glsl terraincommon.glsl

/* --------------------------------------------------------------------- Terrain Renderer using texture splatting and geomipmapping Copyright (c) 2006 Jelmer Cnossen This software is pr
www.eeworm.com/read/298327/3868335

glsl terrainsimplecopyfs.glsl

#ifdef UseTextureRECT uniform sampler2DRect sourceTexture; void main() { gl_FragColor=texture2DRect(sourceTexture, gl_FragCoord.xy); } #else uniform sampler2D sourceTexture; uniform
www.eeworm.com/read/298327/3868339

glsl terrainsimplecopyvs.glsl

void main() { vec4 ecPosition = gl_ModelViewMatrix * gl_Vertex; gl_Position = gl_ProjectionMatrix * ecPosition; }
www.eeworm.com/read/298327/3868341

glsl terrainfragmentshader.glsl

/* --------------------------------------------------------------------- Terrain Renderer using texture splatting and geomipmapping Copyright (c) 2006 Jelmer Cnossen This software is pr
www.eeworm.com/read/436416/1848893

glsl wave.glsl

attribute float wave; void main() { vec4 vertex = gl_Vertex; vertex.y = ( sin(wave + (vertex.x / 5.0) ) + sin(wave + (vertex.z / 4.0) ) ) * 2.5; gl_Position = gl_ModelViewProjectionMatrix * ver
www.eeworm.com/read/395296/2441348

glsl conical.glsl

// conical gradient shader #define M_PI 3.14159265358979323846 uniform sampler1D palette; uniform float angle; uniform vec4 inv_matrix; uniform vec2 inv_matrix_offset; void main() { mat2 mat;