Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MyNameIsDonovan

Pages: [1]
1
Releases / Re: 2D Toolkit 2.1 beta 1
« on: July 11, 2013, 05:59:26 pm »
Unikron, it looks like lighting on tilemaps does not work atm.
And i cant use this to fix it: http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1080.msg5137.html#msg5137

Am I missing something?

Find the tk2dTileMapMeshBuilder.cs file, search for this line:
Code: [Select]
chunk.mesh.RecalculateBounds(); and add this below it:
         
Code: [Select]
chunk.mesh.RecalculateNormals ();
Thanks profanicus, you're the best. I'll add it as soon as I get home :D

2
Releases / Re: 2D Toolkit 2.1 beta 1
« on: July 11, 2013, 05:56:28 am »
Unikron, it looks like lighting on tilemaps does not work atm.
And i cant use this to fix it: http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1080.msg5137.html#msg5137

Am I missing something?

3
Support / Re: Can you make a sprite black when not lit?
« on: July 05, 2013, 06:28:52 pm »
You guys are the best!!!
Although I couldn't find where to turn off ambient lighting, I just set it to Black. I'm getting the results I wanted so I'm happy :D

Thanks guys!

4
Support / Can you make a sprite black when not lit?
« on: July 04, 2013, 06:50:52 pm »
Hello all, its me again asking another possibly extremely noobish question.
I want my sprites to black out when there's no light on them, so things will remain "hidden" until the players light source hits them.
I tried using the tk2D shaders, but they just slightly grayed them out.
Is there a way to achieve this?

5
Support / Re: Question about lighting
« on: July 03, 2013, 02:21:34 am »
Switching to a normal ortho is working out for me.
I had a couple of questions other questions about getting rid of these thin gaps in my tilemap and getting the tilemap to light up, but found the answers :D
In case there are any other newbies like myself running into the same errors!
fix thin gaps ->http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,294.0.html
tilemap lit (thirdpost)->http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1080.msg5137.html#msg5137

The community here seems really nice and helpful!
Thanks again unikron

6
Support / Re: Question about lighting
« on: July 02, 2013, 03:40:32 pm »
Aweee but I love the 2dtkcamera!
Haha, yeah thats probably what i'll do for now. Thanks unikron

7
Support / Re: Question about lighting
« on: July 02, 2013, 03:04:31 pm »
Thanks for the reply unikron :D

I am using the tk2dCamera.
You were right, I created a normal perspective camera and objects appear lit in the game view.

What kind of workarounds are there? Or would it be better to just use Unity 3.5.7 for now?

8
Support / Re: Question about lighting
« on: July 02, 2013, 02:29:39 am »
Sigh, im still having issues.
I went to sprite collection/settings/Normal Generation and have Normals Only Seleceted.
Right now I have litBlendVertexColor selected as the shader.

Ive attached a screenshot of what I am getting. Maybe that would shed some light on what im doing wrong :/

9
Support / Re: Question about lighting
« on: July 01, 2013, 03:31:33 pm »
Thanks for the reply profanicus! I'll check that out when I get home from work.

10
Support / Question about lighting
« on: July 01, 2013, 04:04:08 am »
So im really new to Unity and 2Dtk and I have a question about lighting.
I was hoping that I could use a point light to illuminate my sprites (in game they would be torches), but can seem to get them to do anything.
The only thing that looks like it does something is a directional light, but it only illuminates half of my sprites, and if I try make it perpendicular to my sprite, it doesn't illuminate anything :(
Can someone point me in the right direction?

Pages: [1]