A collection of osl shaders

Overview
This is a collection of osl shaders that I have found.

This collection is intended for use with a version of blender that has been compiled with osl shading enabled. OSL was introduced into blender svn around November 2012 to be included in the 2.65 release. There is a good chance that these can also be adapted with minimum effort to other render engines that support OSL shaders.

For each shader you should find a script file, a small rendered preview file and a sample noodle image showing the node setup used for the preview render as well as a bcm file (see below) to recreate the material. The preview renders were generated using bmps.blend which is available from blenders svn repository at https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/rendering/cycles/blend_files/bmps.blend a copy is not included here due to size considerations.

BCM files are used by Online Material Library (OML) by Peter Cassetta and include the osl script as well as the node setup used for the sample render. The OML addon isn't included with official releases but is included with most svn builds from graphicall. To add manually see --
http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Material/Online_Material_Library
for more details.
From the OML Panel click the tools button and either open a local bcm file or open the file with blenders text editor and read bcm data from text block. Once you apply it to active you will have the node tree all setup for you ready to render.


To make use of OSL in blender - 
1. Enable cycles as the render engine
2. In the render properties panel select Open Shading Language for the shading system.
3. Add a script node to your material.

If you don't have the Open Shading Language option then you need to get a blender build that has OSL enabled.


Some shaders here can be found elsewhere on the web, I am just collecting them here and providing some conversion to be used in blender if needed. Others are renderman shaders that I have converted to blender osl format.

DISCLAIMER:
While I try and find relevant licensing info and keep it with each shader I cannot guarantee that you are totally free to use these shaders the way you plan. It is up to you to make sure you use these within any legal bounds.


Issues
  • re:osl fix planet shader

    re:osl fix planet shader

    hi, there's some compile errors in ch_planet & the kd_flame. here's some fix for planet shader: https://github.com/meta-androcto/materials_library/tree/master/osl%20fix would you be able to test & confirm please.

    opened by meta-androcto 1
Owner
Shane Ambler
Shane Ambler
A personal collection of Windows CVE I have turned in to exploit source, as well as a collection of payloads I've written to be used in conjunction with these exploits.

This repository contains a personal collection of Windows CVE I have turned in to exploit source, as well as a collection of payloads I've written to

null 76 Jun 22, 2022
SKSE plugin for replacing Skyrim SE shaders at launch.

Plugin for SSE Parallax Shader Fix. Requirements CMake Add this to your PATH PowerShell Vcpkg Add the environment variable VCPKG_ROOT with the value a

null 6 Jun 10, 2022
Hydrogen is a tiny GDI Malware, with some bytebeat music, many payloads and some shaders

Hydrogen is a tiny GDI Malware, with some bytebeat music, many payloads and some shaders

Leo Lezury 13 Jun 3, 2022
LLVM IR and optimizer for shaders, including front-end adapters for GLSL and SPIR-V and back-end adapter for GLSL

Licensing LunarGLASS is available via a three clause BSD-style open source license. Goals The primary goals of the LunarGLASS project are: Reduce the

LunarG, Inc. 151 Jun 18, 2022
yariv.h is a single C/C++ header to encode and decode SPIR-V shaders into a more compressed form I've called YARI-V.

YARI-V yariv.h is a single C/C++ header to encode and decode SPIR-V shaders into a more compressed form I've called YARI-V. YARI-V is an alternative e

Neil Henning 32 May 3, 2022
⚔️ A tool for cross compiling shaders. Convert between GLSL, HLSL, Metal Shader Language, or older versions of GLSL.

A cross compiler for shader languages. Convert between SPIR-V, GLSL / GLSL ES, HLSL, Metal Shader Language, or older versions of a given language. Cross Shader wraps glslang and SPIRV-Cross, exposing a simpler interface to transpile shaders.

Alain Galvan 157 Jun 23, 2022
Step-by-step guide through the abstract and complex universe of Fragment Shaders.

The Book of Shaders by Patricio Gonzalez Vivo and Jen Lowe This is a gentle step-by-step guide through the abstract and complex universe of Fragment S

Patricio Gonzalez Vivo 4.5k Jun 24, 2022
Making it easier to work with shaders

Slang Slang is a shading language that makes it easier to build and maintain large shader codebases in a modular and extensible fashion, while also ma

null 959 Jun 25, 2022
dump and replace shaders of any OpenGL or Vulkan application

deshade deshade is a library that allows you to dump and replace the shaders of any OpenGL or Vulkan application, which includes: GL2 + extensions, GL

Dale Weiler 23 Jan 2, 2022
collection of C/C++ programs that try to get compilers to exploit undefined behavior

------------------------------------------------------------------------------- UB Canaries: A collection of C/C++ programs that detect undefined beh

John Regehr 160 Jun 27, 2022
A collection of different Cellular Automata implementations for recreational purposes

A collection of different Cellular Automata implementations for recreational purposes

Tsoding 20 Jun 27, 2022
SilentPatch for Yakuza Remastered Collection (Yakuza 3, 4 and 5)

Yakuza Remastered Collection is a collection consisting of Yakuza 3, Yakuza 4, and Yakuza 5, released on PC in January 2021. At the time of writing this, the games have several issues, one of them being high CPU usage. Since currently no official patches have been released yet, this patch aims to resolve those issues in Yakuza 3 and Yakuza 4 (Yakuza 5 might come later).

Silent 20 May 7, 2022
Learn how to connect your Flexispot (LoctekMotion) desk to the internet. This repository contains a collection of scripts to get your started, combined with research and instructions.

(image source: Windows Central) Turn your LoctekMotion/FlexiSpot desk into a smart desk Recently I acquired a new standing desk from FlexiSpot. During

Mick Vleeshouwer 147 Jun 21, 2022
Collection of C++ containers extracted from LLVM

lvc lvc is a set of C++ containers extracted form LLVM for an easier integration in external projects. To avoid any potential conflit, the llvm namesp

Benjamin Navarro 26 Apr 22, 2022
Collection of cross-platform single-header C libraries for doing a lot of stuff! (Still WIP)

ice_libs Collection of cross-platform single-header C libraries for doing a lot of stuff! (Still WIP) Brief ice_libs is collection of Single-Header C

Rabia Alhaffar 112 May 19, 2022
A collection of tools made by the nerds @ axial

Tools created by Nerds @ AXIAL Tool Name: Vichiti Author: 0x9747 Domain: Open-source Intelligence Tool Name: FLAMES Author: Devisha Rochlani Domain: M

AXIAL 16 Oct 31, 2021
Collection of DLL function export forwards for DLL export function proxying

dll-exports Collection of DLL function export forwards for DLL export function proxying. Typical usecase is for backdooring applications for persisten

Magnus Stubman 34 Jun 26, 2022
Collection of BOFs for Cobalt Strike

Collection of BOFs for Cobalt Strike

null 22 Jun 20, 2022
A collection of scripts written in many different programming languages and each developed independently to perform very specific tasks (big or small)

Script Collection A collection of scripts written in many different programming languages and each developed independently to perform very specific ta

Giovanni Rebouças 5 Aug 31, 2021