神光GodRay的簡單實現

Vertex Shader:3d attribute vec4 rm_Vertex; varying vec2 vTexCoord; void main(void) { // Clean up inaccuracies vec2 Position; Position.xy = sign(rm_Vertex.xy); gl_Position = vec4(Positi
相關文章
相關標籤/搜索