GetAssetPack

3D Fragment Point Lights for GMS2

Price
$2
Type
3D Models
Creator
Daniel Davis
Dimensions
3D
Engine
GameMaker

Add fragment shader point lights to your 3D GMS2 projects

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

3D Fragment Point Lights for GMS2

No preview
Daniel Davis · itch.io$2
3D Models
License not indexed
  • i Check the terms on the original listing.
Show full terms

Add fragment shader point lights to your 3D GMS2 projects

View original listing

Description

Take a look at how to add 3D point lights to your GMS2 projects, using a shader instead of the built-in hardware lights.

Show full description...

GameMaker's built-in hardware lighting relies on vertex shading to calculate how bright a polygon should be, which can result in very poor quality lighting effects on low-poly models. However, when utilizing a fragment shader, your GPU can calculate the brightness of each individual pixel on screen and nicely smooth out lighting, resulting in a much more realistic effect.

This project is fairly tiny, so there's not a ton of code to actually comment on, but I think I've gone through and added enough comments to help things make sense.

Hopefully it's helpful to some devs looking to spice up their 3D projects in GMS2.

There is also a free demo version available for download to check it out before purchasing.

NOTE: You must have Game Maker Studio: 2.0 installed on your computer to open these project files. They will NOT open with Game Maker 1.4

Tags

3DfragmentGameMakergms2lightingpointShaderssourcecode

Downloads