2D Toolkit Forum

2D Toolkit => Support => Topic started by: hugoZandel on August 27, 2014, 03:33:44 pm

Title: textmesh lit is it possible?
Post by: hugoZandel 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
Title: Re: textmesh lit is it possible?
Post by: unikronsoftware 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