Hello Guest

Author Topic: PointLight is different between in Unity cam and mobileBuild (In Tile Map)  (Read 2630 times)

NoRyuk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi, I have some troubles in Pointlight.

Q1. How to determine Exact pointLight position?
 (I mean, In tilemap, pointLight's effectiveness is different, although same transform.Z value, same intensity, same light range)
 (In picture, A and B is example.)


Q2. what is the exact pointlight's position in unity scene and mobile build?
(In picutre,  the positions of A,B,C and  those of m1, m2 is different)



here is my setting
(unity 5.5.4f1 , latest tk2d asset)



Please help me T.T
 
« Last Edit: August 18, 2017, 08:45:43 am by NoRyuk »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Q1 - all positions should have the same z value so they all look the same. Z affects attenuation.


Q2 - That looks like it's vertex lighting on mobile... check what lighting mode you're running on. I think it's in unity quality settings or build settings for the platform. It should be set to pixel and the number of lights needs to be higher.



I am travelling without a laptop at the minute, if you're still stuck reply to this and I'll get back to you in the next few days.


NoRyuk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Thanks for reply,

I solved Q2. but still I have Q1's problem.

I set same value of Zpos but their point light intensity looks different...

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
I am not sure about that one - it could be one of many things. Can you send me a repro case to look at? support at unikronsoftware dot com.