- Home /
lightmapScaleOffset dont work in unity 5
Hi, I've recently updated project to Unity5 and run into the issue with lightmapScaleOffset. I used little hack for grass in my level when i manually changed light map scale and offset for lightmap. I used some reasonable values to "position" grass in some white space in lightmap.
In editor i can change lightmapScaleOffset in editor script and scene looks like picture on left. But after running game all values reset back to original/baked ones. When I'm changing values while game is running, grass is not changing at all, but in editor right values for light mapping are showed.
we have the same issues occur when upgrade from unity 4 to unity5 , we have slice different, after we set the scale offset value to the mesh renderer , we can read the same value , but the ligthmap effect is wrong, it looks like all the mesh renderer use(1,1,0,0) value.
@Can unity guys take a look at this issue ??
I will report bug on it, but I'm too lazy to create some test project on it.
Actually, I'm too angry with unity5 to create bug report, almost every second feature from lightnig/lightmapping don't work as expected.
I've sent them the sample project. and once they reply, i'll let you know.
Your answer
Follow this Question
Related Questions
Low FPS after updating to Unity5. 0 Answers
Render object with different shader depending on the camera 2 Answers
Blending in a simple shader not working in Unity5 as it used to work in Unity4 0 Answers
IOS Unity 5 spike in "RenderShadowMap 1 Answer
Shaders not working on particles in Unity 5! -1 Answers