Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blender texture problems
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#1
Blender texture problems

Blender 2.63
GIMP or Photoshop

I'm working on this tree, but the outline of the leaves have this annoying white outline.

Spoiler below!
[Image: treeproblem1.png]

Is their any way for me to get rid of it, or fade the outlines to transparent?

//--------------------
Also, Blender shows both sides of the texture (For the leaves) in the viewport. But I guess Amnesia doesn't support this, so my tree will look a bit screwed up.

Is their any way I can mimic this in Blender? I can't really tell which side will be shown in Amnesia.

Edit: I took a closer look at the image in GIMP, I can see some slight 1 pixel outlines. But they are mostly light tan to darkish grey. Yet the one in the ModelView shows a completed white outline.
(This post was last modified: 12-24-2012, 05:20 PM by Rapture.)
12-24-2012, 05:11 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Blender texture problems

This looks more like a texture problem. Check the alpha channel, I'm sure it's the problem.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-24-2012, 05:33 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#3
RE: Blender texture problems

Like Chaser said, check the alpha map and bring the black in closer to the leaves. It looks like the background of the leaf texture is white and it's leaking into the leaves. So you'll either have to bring the alpha in closer, or fix the white on the edges of the leaves.
12-24-2012, 05:37 PM
Find
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#4
RE: Blender texture problems

I'm not 100% sure what your talking about... but here is a screenie of GIMP.
Spoiler below!
[Image: treeproblem2.png]
12-24-2012, 06:24 PM
Find
xxxxxxxxxxxxxxxx Away
Posting Freak

Posts: 935
Threads: 0
Joined: Jun 2012
Reputation: 54
#5
RE: Blender texture problems

Yup, simply make the background to the leaves completely green instead of white. (simply put a green layer behind it - the alpha channel will still be saved if its there under "channels".)
Its pretty much the same reason as for why one needs to have a bleeding edge around uv shells on the texture: When the mipmaps (= automatic low-res versions of the texture used when the object is far away) are generated, the color of a new pixel is calculated through the average color of the pixels that used to be in its place on the higher res version. Thus, a pixel thats at the border between green and white becomes a greyish-green and you get ugly edges. (On a transparent png it probably assumes a default color for the transparent pixels, which is white.)
Quote: Also, Blender shows both sides of the texture (For the leaves) in the viewport. But I guess Amnesia doesn't support this, so my tree will look a bit screwed up.



Is their any way I can mimic this in Blender? I can't really tell which side will be shown in Amnesia.
Never worked in Blender, but to see which side of a polygon is the "right one" (= the only one that engines will show) search for something called "backface culling" or the like. As for making both sides visible in hpl, you need two polygons for that - this is what I'd do in general:

1. select all leaf polygons
2. duplicate them
3. flip the face normals of the duplicates

It will probably look like a flickering mess in blender, if backface culling is turned off and it's still drawing both sides of the polygons, but when hpl only draws the "right" side later, it should look fine.
(This post was last modified: 12-24-2012, 06:34 PM by xxxxxxxxxxxxxxxx.)
12-24-2012, 06:28 PM
Find




Users browsing this thread: 1 Guest(s)