Jump to content
  • entries
    3
  • comments
    29
  • views
    8,424

About this blog

Useful LE LUA snippets

Entries in this blog

Intro to LE Post Processing Effects

Post effects are shader programs written in OpenGL Shading Language (GLSL). We use post effects to influence the entire look and feel of a scene. We refer to these effects as "post" effects because they are applied right after the scene has been rendered. They produce a fish eye effect, color an entire scene in grayscale, etc. In each frame of a game, a post effect iterates through every screen pixel and manipulates its color value.   You can find post effect programs in LE project Shaders/Pos

Lunarovich

Lunarovich

LED - A simple Leadwerks 2d drawing library updated

As I make an infrastructure for a new LE project - a simple logic puzzler with cuboid manipulation and matching - I have to use context rendering for GUI. As is well known, LE offers only a basic drawing functionalities, some of which are broken btw.   To paliate the problem, I've written a simple 2D drawing library. The library offers such intuitive entities as text, rect, image and animation with accompanying methods such as SetPosition, SetRotation, SetScale, SetPivot (for rotation purposes

Lunarovich

Lunarovich

LED - LE pure 2d drawing library

Let's admit it, LE context drawing functions are essentially OK, but are very basic and very low-level. I wish something like LED library API would make a part of the official LE API one day.   Until then, here is LED: a lightweight (~350 lines of code) LUA 2d drawing library draft. It gives you out of the box entities - Text, Panel, Image and Animation - enriched with useful functions like SetPosition, SetScale, SetColor, Release and similar.   In order to use it grab Main.lua (for the exam

Lunarovich

Lunarovich

×
×
  • Create New...