Improved Demo and multithreading rendering:

-added support for multithreaded rendering (fast)
-improved shaders
-added support for rendering depth
-added rendering color support
-improved DeptThreadPool (dynamics setting number of tryWait counts before TryWait. Low cpu usage with high responivity)
-added possibility to change number of threads
This commit is contained in:
Mergul 2020-05-09 19:41:00 +02:00
parent f6e7af1014
commit c94510a487
8 changed files with 311 additions and 105 deletions

View file

@ -50,6 +50,6 @@ uniform sampler2D tex;
void main()
{
gl_FragColor = TEX(tex,uv);// * color;
gl_FragColor = TEX(tex,uv) * color;
if(gl_FragColor.a < 0.01)discard;
}