Skip to content

Instantly share code, notes, and snippets.

View aunpyz's full-sized avatar
✝️

Aunnop Kattiyanet aunpyz

✝️
View GitHub Profile
Shader "Eldemarkki/Triplanar Shader"
{
Properties
{
XColor("X Color", Color) = (0.42, 0.42, 0.42, 1)
YColor("Y Color", Color) = (0.44, 0.74, 0.01, 1)
NegativeYColor("Negative Y Color", Color) = (0.32, 0.32, 0.32, 1)
Sensitivity("Sensitivity", Range(0,1)) = 0.6
SensitivityBlend("Sensitivity Blend", Range(0, 0.2)) = 0.1
BlendStepCount("Blend Step Count", Int) = 2
@bmount
bmount / opencl-error-codes.txt
Created June 5, 2014 00:10
OpenCL Error Codes
CL_SUCCESS 0
CL_DEVICE_NOT_FOUND -1
CL_DEVICE_NOT_AVAILABLE -2
CL_COMPILER_NOT_AVAILABLE -3
CL_MEM_OBJECT_ALLOCATION_FAILURE -4
CL_OUT_OF_RESOURCES -5
CL_OUT_OF_HOST_MEMORY -6
CL_PROFILING_INFO_NOT_AVAILABLE -7
CL_MEM_COPY_OVERLAP -8
CL_IMAGE_FORMAT_MISMATCH -9