-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'v been trying to anti alias with OGL. I found a code chunk that is supposed to do this but I see no antialiasing. I also reset my settings in Nvidia Control Panel but no luck.
Does this code in fact antialias the cube?
GLboolean polySmooth = GL_TRUE;
static void init(void)
{
glCullFace (GL_BACK);
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using these function calls:
glEnable(GL_BLEND)
glEnable(GL_POLYGON_SMOOTH)
glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE)
It doesn't work and wont render.
glEnable(GL_BLEND)
glEnable(GL_POLYGON_SMOOTH)
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
It doesn't anti-alias.
>>> More
-
as seen on Super User
- Search for 'Super User'
Hello, I managed to turn off antialiasing for the default font. The thing is that when I switch to typing greek characters, although the same font is used it appears antialiased.
Is there any way to switch off antialiasing for greek characters as well?
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I am getting the following error when compiling the FXAA shader downloaded from here
http://timothylottes.blogspot.co.uk/2011/07/fxaa-311-released.html
Fxaa3_11.h(934,5): error x4000: Use of potentially uninitialized variable (FxaaPixelShader)
Here is the line in the shader
if(earlyExit)
…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I have two texture2d , one of these is a mask texture and have 2kind color
and i use that for mask (filter) second texture2D
something like
float4 tex = tex2D(sprite, texCoord);
float4 bitMask = tex2D(mask, texCoord);
if (bitMask.a >0)
{
return float4(0,0,0,0);
}
else
{
return float4(tex…
>>> More