Skip to content

This is a demo for how to hash collisions using OpenGL pipeline

License

Notifications You must be signed in to change notification settings

DebugST/OpenGLForHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenGLForHash

这是一个如何使用OpenGL渲染管线进行Hash碰撞的一个Demo

思路是在顶点着色器中进行Hash碰撞,在片段着色器中通过像素的RGB值进行结果输出。

因为我们无法通过着色器代码向CPU进行传值。虽然有uniform但是uniform对于着色器代码而言是只读不可写的。

具体的实现可以查看docs中的index.html或者在线版本:LINK

About

This is a demo for how to hash collisions using OpenGL pipeline

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published