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:
parent
f6e7af1014
commit
c94510a487
8 changed files with 311 additions and 105 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue