Irdis wrote:
If I correctly understand you, you want to have a model with both texture (for example, front of the wall) and the modifyable color (back of the wall), right? Well, the material color shader was designed to work only with color of the model, so it is either texture (with another shader, like model.shader.xml), or color (with material color shader).
If you stick with beta 2, you should use only shaders with extension *.shader.xml, and not *.shader. If you have materials that refer to model.shader, change them to model.shader.xml or skinning_metal.shader.xml.
By the way, I compiled the editor for beta 5, if you wish, you can use the latest version of the engine and editor. You can use the material color shader that I posted earlier.
You can also change color of the model in the editor (in material editor you can modify values a,b,c,d that correspond to your color).
:: 2 Irdis
Thanks Once Again ! You are right about Skinning.shader.xml, it works, but unfortunately it doesn't show me the real texture that i applied on my model in my modeling tool (3d max),
Step 1 : I draw my model , and then i apply a texture that i created in the paint program (jpg image having a specific color all over) .
Step 2 : I export it with Opencollada or Autodesk Collada from 3d max
I get a
(a) .material where i am reffered to a shader i.e model.shader
but i change it to skinning_metal.shader.xml as you told me for horde 3d editor beta 2 I must use this way.
Now I can see the object but the problem is my object seems to be pure black, although the texture that I applied is an image (jpg) which has color (any other) .
you asked me in your previous post that if i am having color on one side and texture on the other side of the object so the answer is no
for now i am only applying texture (a jpg image which has a color e.g any)
lastly and most importantly i am curious to know what will be the case if i have a wall and and on one of the polygon of the wall i have applied opacity to show it as a glass
.. Kindly guide if you can
Regards