Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
textmesh lit is it possible?
« previous
next »
Print
Pages: [
1
]
Author
Topic: textmesh lit is it possible? (Read 3829 times)
hugoZandel
Newbie
Posts: 2
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
textmesh lit is it possible?