fix
This commit is contained in:
parent
79957d0ed2
commit
4d51417f2b
@ -25,7 +25,7 @@ layout(location = 0) out vec4 FragColor;
|
|||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
FragColor=vec4(normalize(FragmentTexCoord),0.0,1.0);
|
FragColor=vec4(normalize(FragmentPosition),0.0,1.0);
|
||||||
/* vec3 components[3];
|
/* vec3 components[3];
|
||||||
|
|
||||||
components[0]=texture(GB_Position, FragmentTexCoord).xyz;
|
components[0]=texture(GB_Position, FragmentTexCoord).xyz;
|
||||||
|
@ -148,7 +148,7 @@ namespace hgl
|
|||||||
|
|
||||||
VB2f *vertex=gc.GetVertex();
|
VB2f *vertex=gc.GetVertex();
|
||||||
|
|
||||||
vertex->WriteRectTriangleStrip(rci->scope);
|
vertex->WriteRectFan(rci->scope);
|
||||||
|
|
||||||
return gc.Finish();
|
return gc.Finish();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user