|
3 registered members (TipmyPip, DrissB, Quad),
5,049
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Apply different textures to same instanced tile.
#187757
03/09/08 23:12
03/09/08 23:12
|
Joined: Mar 2008
Posts: 67
crumply
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2008
Posts: 67
|
Hello, I am making a tile-based map system and I wish to load images from files and mirror them as textures on several instances of my tile model using the same UV coordinates. This is a 20x20 map with the same texture: http://www.gamingw.net/pubaccess/52348/2008-03-09_225104.jpgCan anyone help me or point me in the right direction? Thanks, -Ed
|
|
|
Re: Apply different textures to same instanced til
[Re: crumply]
#187758
03/10/08 04:24
03/10/08 04:24
|
Joined: Apr 2004
Posts: 516 USA
Trooper119
User
|
User
Joined: Apr 2004
Posts: 516
USA
|
From what I understand what your basically trying to do is take multiple textures/pictures and put them on the same surface at the same time. And beside writing a shader that does something similar to taking a source picture and emulating itself on the surface this is impossible. I believe as of A7 this is true as well.
In short, yes its possible, with a shader written for it. Long answer no its not really possible by the engine alone (last time I checked), but if you put effort into it you can do it no prob. Before you look into designing your own shader however look around for something that does this already, since taking one texture and relaying it on a .hmp terrain model and using another as a detail map is a definite possibility that I have seen done several times. Hopefully someone else can direct you more specifically.
P.S. Your link doesn't look
P.S.S. If your looking for a more specific answer, I suggest you elaborate, it may be me, since its late right now, but it didn't make complete sense to me to what you were asking.
A clever person solves a problem. A wise person avoids it. --Einstein
Currently Codeing: Free Lite-C
|
|
|
Re: Apply different textures to same instanced til
[Re: crumply]
#187763
03/26/08 00:12
03/26/08 00:12
|
Joined: Dec 2006
Posts: 1,086 Queensland - Australia
Nidhogg
Serious User
|
Serious User
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
|
Take a look at mystymoods for lite c. It loads ext textures for a terain.
Windows XP SP3 Intel Dual Core CPU: E5200 @ 2.5GHz 4.00GB DDR3 Ram ASUS P5G41T-M LX PCIE x16 GeForce GTS 450 1Gb SB Audigy 4 Spyware Doctor with AntiVirus
|
|
|
Re: Apply different textures to same instanced til
[Re: Nidhogg]
#187764
03/26/08 18:40
03/26/08 18:40
|
Joined: Mar 2008
Posts: 67
crumply
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2008
Posts: 67
|
Arrrgh I am using models not terrain. Models for tiles. Please read the thread and see what I am trying to achieve!
Edit:
To clarify:
The level is blank. I load into it NxN blank tile models. On loading the desired texture for the Nth tile is applied.
It is the process of taking a texture and applying it to the tile that I need help with, thank you.
Last edited by crumply; 03/26/08 18:45.
|
|
|
Re: Apply different textures to same instanced til
[Re: crumply]
#187765
03/28/08 20:17
03/28/08 20:17
|
Joined: Mar 2008
Posts: 67
crumply
OP
Junior Member
|
OP
Junior Member
Joined: Mar 2008
Posts: 67
|
|
|
|
|