Recreating this image in Unity

Hey guys,

I’m working on a flat-shaded style game, and I want to recreate these graphics in Unity. More specifically, the lighting.

I’m having troubles at the moment with getting these settings right. Lightmapping seems to always be a pain with Unity. I think the issue here is with my UVs. I’m using the UVs that Unity generates in the import settings. The resolution is crazy low for some reason, even though every single setting is on maxiumum.

Also, any general lightmap settings that would help recreate this in Unity would be helpful, as I’ve never really done much with Beast.

Figured out my lightmapping issue. I just made a new scene which gave me the default lightmap settings, which I modified from there.

2 Likes

In Unity Free?

Done in Pro, but could have been done in Free without the Vignetting effect.

I never tire of seeing Timothy J Reynolds’ stuff :slight_smile: You’ve done a pretty decent job of emulating it in Unity there - is it a custom shader, or did you duplicate vertices to prevent interpolation across faces?

Very Nice!

@tanoshimi , Actually, the best way to do this in modelling is to harden the faces normals, forcing light to reflect off them at hard angles, which creates this effect quite nicely.

Does Beast not interpolate vertex normals across each face? I’m not that experienced with lightmapping, but for realtime flat shading in Unity I was under the impression that vertex normals are always interpolated across a face (and a vert/fragment shader has no knowledge of the face normal of a given fragment it mght be processing) so, to get a flat shading effect you either have to duplicate any vertices shared between faces (giving each copy the “face normal” for the face to which it relates), or else use a custom lighting model… am not near an appropriate computer at the moment to try, but will have a go tomorrow!

Actually, it’s neither. I’m using the default Diffuse shader, as I’m finding that gives the best effect. As far as getting this look goes, it’s in the import settings. I set Normals to Calculate, and I set my Smoothing Angle to zero.

Still with, just have shaded sprites in the corners :slight_smile:

That does duplicate all the shared verts - it’s just you’re doing it on import rather than in the modelling program :slight_smile:

Reference image is sexy :smile: i would start with tweaking ambient light on shader, then proceed to surround the piece with multiple directional lights, (for example 1 for sun, 1 for reflected ground light) and in general just play with lights until effect achieved. I would use lightmapper only if you dont plan on dynamic lvls.

Here’s a progress update. I needed more room for a “playing field” as this is an online game. Basically, I’ve scraped everything about 5 times now.

2 Likes

Made some modifications to the scene, colors, camera angle and image effects.

4 Likes