|
Re: Added colour map support
[Re: FrankyFly]
#98057
01/06/07 00:12
01/06/07 00:12
|
Joined: Mar 2004
Posts: 286 Maintal, Deutschland
TheTommynator
Member
|
Member
Joined: Mar 2004
Posts: 286
Maintal, Deutschland
|
Ja, ich hatte bei Terrain das Häckchen bei Colormap.
Hab nochmal ein neues Terrain erstellt und wieder keine Colormap dabei...
Seltsamerweise ist beim Sampleterrain beim abspeichern eine dabei.
Irgendwas stimmt doch da nicht...
Back @ work with 3DGS.
|
|
|
Re: Added colour map support
[Re: Loopix]
#98058
01/06/07 00:14
01/06/07 00:14
|
Joined: Dec 2006
Posts: 15
FrankyFly
Newbie
|
Newbie
Joined: Dec 2006
Posts: 15
|
;-), klar aber was ist wenn du Berg-, Strassen- und Grün Gelände hast? Da kommt man dann nicht mit 4 Texturen aus. Was machen?
------
If u use Hills, Streets und Greens then u need more then 4 Skins.
Last edited by FrankyFly; 01/06/07 00:16.
|
|
|
Re: Added colour map support
[Re: Loopix]
#98060
01/06/07 00:24
01/06/07 00:24
|
Joined: Mar 2004
Posts: 286 Maintal, Deutschland
TheTommynator
Member
|
Member
Joined: Mar 2004
Posts: 286
Maintal, Deutschland
|
Ah! Ich glaube es ist so eine "It's not a bug it's a feature!"-Sache: Quote:
the texture map your talking about is the color map, you paint on it seperatly by using the paint tool (the tool that looks like a paint brush). and selecting colors from the palette. the detail and color are added together to create more dynamicly colored terrain
Die Frage war, warum die Colormap immer weiß ist. Das war ein Zitat aus dem offiziellen Forum
Back @ work with 3DGS.
|
|
|
Re: Added colour map support
[Re: TheTommynator]
#98061
01/06/07 00:50
01/06/07 00:50
|
Joined: Mar 2004
Posts: 286 Maintal, Deutschland
TheTommynator
Member
|
Member
Joined: Mar 2004
Posts: 286
Maintal, Deutschland
|
Ich hoffe, ich nerve nicht, aber nachdem das Problem soweit geklärt ist, bin auf folgendes seltsame Verhalten gestoßen:  Ich hab das Gefühl, es liegt am Textur-Tiling, aber ich weiß nicht, wie ich das wegkriegen soll. Dankeschön schonmal, wenn du mir hier nochmal helfen kannst 
Back @ work with 3DGS.
|
|
|
Re: Added colour map support
[Re: FrankyFly]
#98063
01/06/07 11:08
01/06/07 11:08
|
Joined: Sep 2002
Posts: 8,177 Netherlands
PHeMoX
Senior Expert
|
Senior Expert
Joined: Sep 2002
Posts: 8,177
Netherlands
|
What size are those textures? They should be sizes a power of 2. 256x256 or 512x512 for example. Other than that, there's a line in the shader which takes care of tiling. It's all commented in the shader code itself. Code:
Out.Tex1 = inTexCoord0.xy; // rgb-blendmap (not tiled) Out.Tex2 = inTexCoord0.xy; // shadowmap (not tiled) Out.Tex3 = inTexCoord0.xy*10; // tiling texture red30 Out.Tex4 = inTexCoord0.xy*30; // tiling texture green10 Out.Tex5 = inTexCoord0.xy*20; // tiling texture blue10 Out.Tex6 = inTexCoord0.xy*30; // tiling texture black30
Change for example the *30 into *20 to get a different tiling result for texture6(which is actually texture 4 off course), Cheers
|
|
|
Re: Added colour map support
[Re: broozar]
#98065
01/06/07 12:02
01/06/07 12:02
|
Joined: Mar 2004
Posts: 286 Maintal, Deutschland
TheTommynator
Member
|
Member
Joined: Mar 2004
Posts: 286
Maintal, Deutschland
|
Thanks @ PHeMoX!
This was it.
The textures had the size of a power of 2 but where not 256, 512 or 1024. I changed the texturesize to the correct amount and the black borders disappeared.
Thanks
Back @ work with 3DGS.
|
|
|
|