GameBanana shows no ads to members. Sign up now!
Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Editing vertex normals for better foliage (3dsmax)

A Tutorial for Goldsource Engine

Using transparent image planes is a standard practice for creating foliage models but there is a big flaw where the planes are lit too "flat" and create harsh shading.  Fortunately there is a method of editing the vertex normals to drastically improve the overall lighting of planes in a cluster (Remember in goldsrc there is no "nocull" texture setting for double sided rendring so you must make each plane with a flipped duplicate for the opposite side).


Get "Slidenormals Thief" maxscript.
Run the script and set up a UI shortcut from "customize user interface" if you want (its found under "Category: Slidetools").

Then select your object and add a "edit normals" modifier.  Create a sphere or half-sphere (depending on how you want your lighting to be affected) and shape it over your plane cluster.  Add an "edit normals" modifier to that too.


Open up slidetools and choose the reference and destination object and press steal.  Hide or delete your reference object and now you have a model with modified normals.  The normals should all be pointing outwards in a uniform way. (note that some versions of max may make the realtime lighting look wrong, but try exporting and verify your results).


Collapse the edit normals modifier and export your SMD.  If you are using a more recent version of 3dsmax (2013+) use either wallworm exporter or Game Zombie SMD tools.


Compile your model, then verify your edited normals in HLMV by changing the render mode to "Smooth Shaded" it should look like a nice gradient.
Sign up to access this!
  • Admer456 avatar
    Admer456 username pic Joined 6y ago
    Gone. :3
    27,654 points Ranked 192nd
    32 medals 2 legendary 5 rare
    • Submitted 30 Tutorials Medal icon
    • Returned 5000 times Medal icon
    • Submitted 15 Tutorials Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Received thanks 50 times Medal icon
    If you use an image-hosting website (e.g. Imgur) you can embed screenshots into the text area via the formatting tools, like this:

    Gordoon Rocketman
    URL to post:


Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code


Original Authors
The303 Joined 4y ago
1,954 points Ranked 21,458th


The303 avatar
The303 Joined 4y ago
1,954 points Ranked 21,458th
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!


Sign up to access this!



Difficulty Level



  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 1
  • 13.9k
  • 1
  • 4y
  • 4y

More from Submitter

More Modelling Tutorials