How does the 2d spotlight effect works?

This page summarizes the projects mentioned and recommended in the original post on /r/raylib

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • raylib

    A simple and easy-to-use library to enjoy videogames programming

  • This example is using a shader to produce the spotlight. A shader is a program that runs directly on your graphics card, instead of your CPU. The shader is written in its own language, GLSL, which has a similar syntax to C. You can see the shader for this example here. What (I think) this shader is doing is darkening the whole screen and setting a number of areas transparent. Then the main program that's running on your CPU is passing the shader data about where to put the spotlights (transparent areas), how big they are and the amount of bloom. This creates a spotlight effect.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Zig! Can you C?

    1 project | dev.to | 4 Apr 2024
  • Ask HN: Do you know any open source (2D or 3D) asset libraries?

    1 project | news.ycombinator.com | 27 Feb 2024
  • Raylib – A simple and easy-to-use library to enjoy videogames programming

    1 project | news.ycombinator.com | 8 Feb 2024
  • Advice for managing a group of beginner C programmers, myself included

    1 project | /r/C_Programming | 21 Nov 2023
  • What are some good projects in C for an experienced dev?

    1 project | /r/cprogramming | 20 Nov 2023