2 registered members (AndrewAMD, Ayumi),
838
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Multi Model Materials
#188886
03/16/08 20:06
03/16/08 20:06
|
Joined: Oct 2003
Posts: 1,550 United Kingdom
indiGLOW
OP
Serious User
|
OP
Serious User
Joined: Oct 2003
Posts: 1,550
United Kingdom
|
It's been a while since I looked at shaders and materials for A6, so please forgive my ignorance if this proves to be a dumb question Can you assign multiple/different shader/material effects to a model? I have a model with 8 skins and would like to assign different shaders like normal and bump mapping, reflection etc. Is this possible? Any pointers or assistance much appreciated.
The Art of Conversation is dead : Discuss
|
|
|
Re: Multi Model Materials
[Re: indiGLOW]
#188887
03/17/08 14:06
03/17/08 14:06
|
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B
Expert
|
Expert
Joined: Feb 2006
Posts: 2,185
|
yes, just apply an fx file to each skin, and you can use materials and models at the same time, it's very much possible, we're using this feature as well
- aka Manslayer101
|
|
|
Re: Multi Model Materials
[Re: indiGLOW]
#188888
03/17/08 16:57
03/17/08 16:57
|
Joined: Feb 2008
Posts: 4
GBStudio
Guest
|
Guest
Joined: Feb 2008
Posts: 4
|
Quote:
yes, just apply an fx file to each skin, and you can use materials and models at the same time, it's very much possible, we're using this feature as well
I have the same problem. I do apply the fx files to the model (as external files), and I have placed the fx files and the textures in the folder, but the shaders don't work. I have no idea what is wrong. Please explain in more detail.
Kindest Regards GBStudio
|
|
|
Re: Multi Model Materials
[Re: GBStudio]
#188889
03/17/08 19:29
03/17/08 19:29
|
Joined: Oct 2003
Posts: 1,550 United Kingdom
indiGLOW
OP
Serious User
|
OP
Serious User
Joined: Oct 2003
Posts: 1,550
United Kingdom
|
Just to clarify, I have not had a problem as yet I was enquiring as to the potential of this method and if GS supported it. However, it does seem like I would gain also from some explanation of this process, so if there are a few pointers going it would be much appreciated. I've just got in from work and will be sitting down to investigate this further, maybe I will even shed a little light on the process myself. Quick shout out to mpdeveloper_B, thanks for the reply much appreciated, very interesting indeed. Thanks again EDIT: A little research later and I would like to restate the question, to be sure that I asked correctly. In my image above, I have selected the 3rd skin in the stack, Skin Name: #material183. I would like to apply a shader to only this skin, e.g a bump map shader. I only want it applied to this skin. Is that possible? If so what are the limitations? I am reading about 4 model skins and 4 externals in the manual, does this apply here? Thanks in advance for any help
Last edited by indiGLOW; 03/17/08 20:27.
The Art of Conversation is dead : Discuss
|
|
|
Re: Multi Model Materials
[Re: indiGLOW]
#188890
03/18/08 09:17
03/18/08 09:17
|
Joined: Feb 2008
Posts: 4
GBStudio
Guest
|
Guest
Joined: Feb 2008
Posts: 4
|
Quote:
A little research later and I would like to restate the question, to be sure that I asked correctly. In my image above, I have selected the 3rd skin in the stack, Skin Name: #material183. I would like to apply a shader to only this skin, e.g a bump map shader. I only want it applied to this skin. Is that possible? If so what are the limitations? I am reading about 4 model skins and 4 externals in the manual, does this apply here?
I was searching the forum for multiple shaders on the same model, and I found this:
http://www.coniserver.net/ubbthreads/showflat.php?Cat=0&Board=UBB3&Number=685645
I think for applying a fx file to one skin, you should check the "effect setup", then open definition file roll, and choose the fx file you want. I guess the fx file would be added only to that skin.
But when I apply the fx files to the model skins (and of course I place the fx files and texture files in the game directory) the shaders don't work!!! It is two days that I'm searching the forum, wiki, manual, etc... but I didn't find any reason for that. The shaders work when I apply them to the entities in code, so the shaders are correct. But when I apply them to the model skins in med they don't work.
I wish someone who knows the solution helps us...
Kindest Regards GBStudio
|
|
|
Re: Multi Model Materials
[Re: GBStudio]
#188891
03/18/08 15:16
03/18/08 15:16
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
Quote:
I was searching the forum for multiple shaders on the same model, and I found this:
http://www.coniserver.net/ubbthreads/showflat.php?Cat=0&Board=UBB3&Number=685645
I think for applying a fx file to one skin, you should check the "effect setup", then open definition file roll, and choose the fx file you want. I guess the fx file would be added only to that skin.
But when I apply the fx files to the model skins (and of course I place the fx files and texture files in the game directory) the shaders don't work!!! It is two days that I'm searching the forum, wiki, manual, etc... but I didn't find any reason for that. The shaders work when I apply them to the entities in code, so the shaders are correct. But when I apply them to the model skins in med they don't work.
I wish someone who knows the solution helps us...
Kindest Regards GBStudio
maybe the shaders you are using needs more than one skin(like normal mapping) and trying access the via entity(like tries to get entities(what shader apllied to) 1st and 2nd skin). This shaders must be applied to entity, but i guess a small retouch will solve the problem.
3333333333
|
|
|
Re: Multi Model Materials
[Re: GBStudio]
#188894
03/21/08 16:02
03/21/08 16:02
|
Joined: Oct 2003
Posts: 1,550 United Kingdom
indiGLOW
OP
Serious User
|
OP
Serious User
Joined: Oct 2003
Posts: 1,550
United Kingdom
|
Thanks for the great links guys, I am busy putting the core level geom together, expected to be completed this weeked and then I want to have a crack at getting some nice normal mapping shaders applied.
Thanks for all your help, I will post some screenies when I get it working.
The Art of Conversation is dead : Discuss
|
|
|
|