All Projects → ray-cast → ies

ray-cast / ies

Licence: other
Convert the IES file into a IES texture for IES lightning

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to ies

unity-water-shader2d
A 2D water shader for Unity
Stars: ✭ 91 (+167.65%)
Mutual labels:  shader
mpsl
Shader-Like Mathematical Expression JIT Engine for C++ Language
Stars: ✭ 52 (+52.94%)
Mutual labels:  shader
unity3d-shader-collection
A unity shader collection of private works
Stars: ✭ 32 (-5.88%)
Mutual labels:  shader
UnityRaymarchingForward
Example of raymarching in forward rendering for Unity
Stars: ✭ 17 (-50%)
Mutual labels:  shader
TMS
Tone Mapping Studio
Stars: ✭ 35 (+2.94%)
Mutual labels:  hdr
ios-spritekit-shader-sandbox
👾 Collection of custom effects for SpriteKit implemented using GLSL/Metal shaders.
Stars: ✭ 63 (+85.29%)
Mutual labels:  shader
Height-Based-Gradient-Color-Shaders-for-Unity
Height Based 2 color gradient shaders for Unity
Stars: ✭ 18 (-47.06%)
Mutual labels:  shader
UnityChanToonShaderVer2 Project
UTS2-AC - UnityChanToonShaderVer2 Project / v.2.0.4+ - Different vrchat support, lighting manipulation, and style.
Stars: ✭ 14 (-58.82%)
Mutual labels:  shader
UnityVolumeRendering
A simple example of Volume Rendering for Unity.
Stars: ✭ 139 (+308.82%)
Mutual labels:  shader
OBNI
Objet Bruité Non Identifié - Unity displacement shader
Stars: ✭ 28 (-17.65%)
Mutual labels:  shader
singleLDR2HDR
Fake HDR Effect. Single Image HDR. HDR Filter.
Stars: ✭ 40 (+17.65%)
Mutual labels:  hdr
GodotTerrainEditorPainter
Heightmap based terrain editor plugin for GODOT with vertex color based terrain shader painting
Stars: ✭ 23 (-32.35%)
Mutual labels:  shader
InstancedMotionVector
Shows how to support rendering per-instance motion vectors within Indirect instanced drawing of Unity.
Stars: ✭ 45 (+32.35%)
Mutual labels:  shader
color-api
A proposal and draft spec for a Color object for the Web Platform, loosely influenced by our Color.js work. Heavily WIP, if you landed here randomly, please move along.
Stars: ✭ 102 (+200%)
Mutual labels:  hdr
GLSLShaderShrinker
Optimizes the size of GLSL shader code.
Stars: ✭ 39 (+14.71%)
Mutual labels:  shader
WernessDithering
Copy of dithering code by Brent Werness (Koloth) invented for Obra Dinn
Stars: ✭ 24 (-29.41%)
Mutual labels:  shader
UnityPseudoInstancedGPUParticles
GPU Particles w/ Screen Space Collision Example.
Stars: ✭ 99 (+191.18%)
Mutual labels:  shader
qt5-vector-graphic-shaders
A Qt5 application to experiment vector graphic shaders
Stars: ✭ 37 (+8.82%)
Mutual labels:  shader
ShaderGraphExtensions
Custom nodes for Shader Graph
Stars: ✭ 28 (-17.65%)
Mutual labels:  shader
grid-shader-unity
A grid shader for Unity 🌐
Stars: ✭ 81 (+138.24%)
Mutual labels:  shader

IES Light Profiles

IES.jpg

To use

float3 ComputeIESLightProfile1D(float3 L, float3 LightDirection)
{
    L = mul(L, (float3x3)matViewInverse);
    float angle = (1 - acos(dot(L, LightDirection)) / PI);
    return tex2Dlod(IESTextureSamp, float4(angle, 0, 0, 0)).rgb;
}

License (MIT)

Copyright (C) 2016-2017 Rui. All rights reserved.

https://github.com/ray-cast/ies

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].