added OpenCL cloth demo, contributed by AMD.
updated GpuSoftBodySolvers updated DirectCompute cloth demo
This commit is contained in:
7
Demos/OpenCLClothDemo/fragment.glsl
Normal file
7
Demos/OpenCLClothDemo/fragment.glsl
Normal file
@@ -0,0 +1,7 @@
|
||||
uniform sampler2D tex;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 color = texture2D(tex,gl_TexCoord[0].st);
|
||||
gl_FragColor = color;
|
||||
}
|
||||
Reference in New Issue
Block a user