[SOLVED]Flat Shaded Polygons

Hi guys,

I’m a total Unity Noob and was wondering if someone could help me out.

I’m trying to emulate the retro flat shaded polygon look from such early 3D games as Virtua Fighter, Star Wars Arcade etc and was wondering how to do this in Unity. By default, my 3D models are smoothly shaded (sorry for my extra layman’s layman’s terms).

Is there a way to do this? Also, I want to turn off backface culling for certain parts of my models (I have a few edges that are flat and disappear when seen from certain views). Is this possible or must it be turned off for the entire scene? I’m guessing that’d up the processor requirements and I hardly need any internal polygon faces to be visible.

Cheers!

Hi,

In order to get the faceted look you are going for you can modify the import settings in order to achieve this.

(please see attached picture)

there are 2 ways to approach backface culling, modelling the backfaces on your original model… or using a shader… I belive I saw one kicking about here a while back http://www.unifycommunity.com/wiki/index.php?title=Shaders

201611--7438--$normals_684.jpg

Just to help you out more :wink:

Here’s a culloff shader :wink:

Enjoy!

201841–7450–$diffuse_culloff_221.shader (7.91 KB)

Hey, thanks guys! Just what I needed :slight_smile:

This shader is extra!!!
Exist it the same for a transparent shader? Like “transparent-VertexLit-Cull-Off”

I use much transparent effects in unity, and the most “transparent vertexLit”, so i will like so use some “2 sided” effect for this shader…

I couldnt find the transparent -vertex-lit shader to modify…

but maybe this can work for you? :slight_smile:

232498–8330–$transparent_culloff_183.shader (655 Bytes)

Oooh, thank you very much, well, i only use transparent vertexLit becaause all my objects are very illuminated, but anyway, i add this to my shaders, will be helpfull for sure :slight_smile: thanks

Please tell me if you find the vertexLit :smile:

Doesn’t work for me :[
Is it outdated or am I doing something wrong?