Hello Guest

Author Topic: textmesh lit is it possible?  (Read 2954 times)

hugoZandel

  • Newbie
  • *
  • Posts: 2
    • View Profile
textmesh lit is it possible?
« on: August 27, 2014, 03:33:44 pm »
Is it possible to light a textmesh?

The font was create in the texture packer with normal generation selected. It doesn't seems to receive light.

Thanks

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: textmesh lit is it possible?
« Reply #1 on: August 27, 2014, 05:07:05 pm »
The text mesh doesn't create normals by default. You can change that by adding mesh.RecalculateNormals(); where you see mesh.RecalculateBounds(); in tk2dTextMesh.cs