seams in blending
Well, I made a terrain with triangle strips.
Some strips can overlap each other, so the corners of the textures are black
to have transparency.
Problem: where the corners of the transparent textures meet, I have ugly
seams with ugly colors:
First I was using: GL_SCR_COLOR,GL_ONE for blending
It gave me an ugly color and seams.
Then I used: GL_ONE, GL_ONE
This give me ugly seams and another ugly color where ends meet?
Is this normal?
Thanks,
RenRan
I'm not sure it will give enough information for the solution to your problem, but images would help.
Yes, the images would help a lot, cause it could be z-fighting that you call seams or something else, but we don't see so we can't tell...
Yes, I wanted to do that, but can You tell me how I can put an image in
this forum?
Thanks,
RenRan
this forum?
Thanks,
RenRan
you need to upload it to imageshack.us or such and post a link here, on imageshack you'll get a tag you can post immediately (it's the "site" one, I think)
http://img293.imageshack.us/img293/5074/image2rq8.th.png[/IMG]
[img=http://img508.imageshack.us/img508/4745/image2eb6.th.png]
There it is , I think, up green and down green merges to a ugly
yellow in the middle?
Did something wrong here!
But on http://img508.imageshack.us/img508/4745/image2eb6.th.png
you can see my problem.
Thanks
[Edited by - Renran on May 13, 2008 3:28:49 PM]
[img=http://img508.imageshack.us/img508/4745/image2eb6.th.png]
There it is , I think, up green and down green merges to a ugly
yellow in the middle?
Did something wrong here!
But on http://img508.imageshack.us/img508/4745/image2eb6.th.png
you can see my problem.
Thanks
[Edited by - Renran on May 13, 2008 3:28:49 PM]
Hey i don't know how long you have been using openGL, but i will tell you what caused a similar problem for me when doing particle systems,
have you disabled GL_DEPTH_TEST before drawing the polys and re-enabled it after?
Because without doing that you will be able to see the edges of every poly and leads to a very ugly look, it could be something this simple if you are new, or something i don't know about but good luck and i hope it is this easy :P .
have you disabled GL_DEPTH_TEST before drawing the polys and re-enabled it after?
Because without doing that you will be able to see the edges of every poly and leads to a very ugly look, it could be something this simple if you are new, or something i don't know about but good luck and i hope it is this easy :P .
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement