Hello Guest

Author Topic: Help! I lost my text shader!  (Read 5622 times)

LordYabo

  • Newbie
  • *
  • Posts: 17
    • View Profile
Help! I lost my text shader!
« on: July 29, 2013, 11:17:01 pm »
I accidentally added a 2dtk text mesh to an object I didn't want it on. 
I then proceeded to remove the components, but hit Reset on the GradientFontMaterial instead of removing it.

Now my text mesh material is messed up whenever I try to add any text mesh, everything is just white.  Attached is a screenshot.

What do I set this too so I can see my fonts again?


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Help! I lost my text shader!
« Reply #1 on: July 29, 2013, 11:21:02 pm »
Drag and drop the correct textures into the texture slots - the should be in the same directory as the materials.

LordYabo

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Help! I lost my text shader!
« Reply #2 on: July 30, 2013, 03:05:50 am »
And the name of the texture would be... ????

I found a folder called demogradientfont with a grad texture.  I dragged that into Base and Gradient texture but it is all messed up multi colored blocks.


profanicus

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 167
    • View Profile
Re: Help! I lost my text shader!
« Reply #3 on: July 30, 2013, 04:44:55 am »
Gradient font uses the test_0 texture.

LordYabo

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Help! I lost my text shader!
« Reply #4 on: July 30, 2013, 07:24:11 pm »
Thanks, got it.

For anyone else as dumb as me the answer is:
Base (RGB) Trans (A) is the text font "test_0"
Gradient (RGBA) is the coloring "grad"