Author Topic: my terrain mask won't work!  (Read 3530 times)

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
my terrain mask won't work!
« on: September 28, 2011, 05:23:56 pm »
i followed all the steps to make a terrain mask and i used gimp but when i try to pull it up in map maker it won't work...

Yes:
the mask is 513x513

it's in RGB mode

it's a png image

i use gimp

Problem:

when i type in the name of the mask and everything it won't show up...not even the pattern of the terrain mask shows up

-Angel-

  • Guest
Re: my terrain mask won't work!
« Reply #1 on: September 28, 2011, 10:49:52 pm »
did u type the file EXACTLY as u saved it?

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
Re: my terrain mask won't work!
« Reply #2 on: September 28, 2011, 11:45:49 pm »
yes

Offline Definition

  • Dedicated Supporter
  • ***
  • Posts: 292
  • Floof-O-Meter: 20
    • View Profile
Re: my terrain mask won't work!
« Reply #3 on: September 29, 2011, 12:15:55 am »
import AlphaSplatTerrain1 from "terrain.material"
material Terrain/WaterMill : AlphaSplatTerrain1
{
technique
{
pass
{
vertex_program_ref AlphaSplatTerrain/VP
{
param_named pageSize float 10000
param_named textureTileSize float 5
}
fragment_program_ref AlphaSplatTerrain1/FP
{
param_named alpha0Mask float4 1 1 1 0
}
}
}
set_texture_alias AlphaMap1 watermillMask.png
set_texture_alias Splat1 greengrass.jpg
set_texture_alias Splat2 brokensand.jpg
set_texture_alias Splat3 seasand.jpg


Make sure your MapnameTerrain.material is typed correctly?
« Last Edit: October 03, 2011, 12:23:28 am by Defined »

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
Re: my terrain mask won't work!
« Reply #4 on: September 30, 2011, 03:41:10 am »
i didn't understand that sorry... but i'll show you what the material file says:


AlphaMap1=ForestMask.png
AlphaMap2=ForestMask.png
Splat1=green_grass.jpg
Splat2=green_grass.jpg
Splat3=flowergrass2.jpg
Splat4=deepgreenGrass2.jpg
Splat5=green_grass.jpg
Splat6=green_grass.jpg


it just says this.. is something missing?

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
Re: my terrain mask won't work!
« Reply #5 on: October 02, 2011, 05:36:33 pm »
bump (sorry if thats not allowed here)

Offline Definition

  • Dedicated Supporter
  • ***
  • Posts: 292
  • Floof-O-Meter: 20
    • View Profile
Re: my terrain mask won't work!
« Reply #6 on: October 03, 2011, 12:26:30 am »


When you type the mask, make sure you include the .png .

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
Re: my terrain mask won't work!
« Reply #7 on: October 03, 2011, 05:59:34 pm »
i did but it still won't work....

Offline Jitters

  • Mutant Turtle
  • Elder Grey Pelt
  • ****
  • Posts: 2,624
  • Country: ca
  • Floof-O-Meter: 146
  • Hero in a Half Shell!
    • View Profile
Re: my terrain mask won't work!
« Reply #8 on: October 03, 2011, 06:01:35 pm »
Where is your file?

Offline Wolfexpert79

  • Finest Floof
  • ***
  • Posts: 737
  • Floof-O-Meter: 45
  • I'm...shocked...T_T
    • View Profile
    • Gierra RPG Forum
Re: my terrain mask won't work!
« Reply #9 on: October 03, 2011, 11:11:48 pm »
it's called ForestmapMask

it's a png image

it's RGB

and it's 513X513