{"id":21135616,"url":"https://github.com/ray-cast/ies","last_synced_at":"2025-07-09T03:33:15.532Z","repository":{"id":51684979,"uuid":"117754473","full_name":"ray-cast/ies","owner":"ray-cast","description":"Convert the IES file into a IES texture for IES lightning","archived":false,"fork":false,"pushed_at":"2018-01-16T23:17:43.000Z","size":669,"stargazers_count":44,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-03-01T06:55:34.783Z","etag":null,"topics":["hdr","ies","shader"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ray-cast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-16T23:15:11.000Z","updated_at":"2023-02-24T00:02:49.000Z","dependencies_parsed_at":"2022-08-03T08:45:16.972Z","dependency_job_id":null,"html_url":"https://github.com/ray-cast/ies","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-cast%2Fies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-cast%2Fies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-cast%2Fies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-cast%2Fies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ray-cast","download_url":"https://codeload.github.com/ray-cast/ies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225482440,"owners_count":17481208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hdr","ies","shader"],"created_at":"2024-11-20T06:56:49.628Z","updated_at":"2024-11-20T06:56:50.241Z","avatar_url":"https://github.com/ray-cast.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IES Light Profiles\r\n\r\n![IES.jpg](IES.jpg)\r\n\r\n# To use\r\n\r\n```hlsl\r\nfloat3 ComputeIESLightProfile1D(float3 L, float3 LightDirection)\r\n{\r\n    L = mul(L, (float3x3)matViewInverse);\r\n    float angle = (1 - acos(dot(L, LightDirection)) / PI);\r\n    return tex2Dlod(IESTextureSamp, float4(angle, 0, 0, 0)).rgb;\r\n}\r\n```\r\n\r\n[License (MIT)](https://raw.githubusercontent.com/ray-cast/ies/master/LICENSE.txt)\r\n-------------------------------------------------------------------------------\r\n\tCopyright (C) 2016-2017 Rui. All rights reserved.\r\n\r\n\thttps://github.com/ray-cast/ies\r\n\r\n\tPermission is hereby granted, free of charge, to any person obtaining a\r\n\tcopy of this software and associated documentation files (the \"Software\"),\r\n\tto deal in the Software without restriction, including without limitation\r\n\tthe rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n\tand/or sell copies of the Software, and to permit persons to whom the\r\n\tSoftware is furnished to do so, subject to the following conditions:\r\n\r\n\tThe above copyright notice and this permission notice shall be included\r\n\tin all copies or substantial portions of the Software.\r\n\r\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n\tOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\r\n\tBRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n\tAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n\tCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fray-cast%2Fies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fray-cast%2Fies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fray-cast%2Fies/lists"}