Hex terrain editor
-
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact:
-
- Posts: 170
- Joined: Sun Jul 01, 2007 11:41 pm
- Location: Manchester, UK
-
- Posts: 10
- Joined: Fri Jul 20, 2007 12:12 am
I finally released the demo of the editor. Check out this thread.
You are referring to the E_MATERIAL_TYPE of EMT_SOLID_2_LAYER. The Help file states the following:
Solid material with 2 texture layers. The second is blended onto the first using the alpha value of the vertex colors. This material is currently not implemented in OpenGL, but it works with DirectX.
Note that it specifically says that it sues Vertex Colors, not an alpha map, so you will need to push the vertex colors from your program just to get it to work right, I don't think that is exactly what you want to do on a character or vehicle. It is just about truly geared towards terrain. I was kinda hoping myself that it would be alpha based, but eh, oh well.
I am not, however getting how you are combining the 2 layer texture with the light map, that isn't in those definitions
Solid material with 2 texture layers. The second is blended onto the first using the alpha value of the vertex colors. This material is currently not implemented in OpenGL, but it works with DirectX.
Note that it specifically says that it sues Vertex Colors, not an alpha map, so you will need to push the vertex colors from your program just to get it to work right, I don't think that is exactly what you want to do on a character or vehicle. It is just about truly geared towards terrain. I was kinda hoping myself that it would be alpha based, but eh, oh well.
I am not, however getting how you are combining the 2 layer texture with the light map, that isn't in those definitions