All Projects → blkcatman → Unityshaders

blkcatman / Unityshaders

Licence: mit
Unity Shader Codes

Labels

Projects that are alternatives of or similar to Unityshaders

Imogen
GPU Texture Generator
Stars: ✭ 648 (+8000%)
Mutual labels:  glsl
Postprocess Glsl
Stars: ✭ 6 (-25%)
Mutual labels:  glsl
Jitter Glsl Shaders
Custom GLSL Shaders for Max/MSP/Jitter
Stars: ✭ 19 (+137.5%)
Mutual labels:  glsl
Shaderman
Convert ShaderToy to Unity HLSL/CG
Stars: ✭ 734 (+9075%)
Mutual labels:  glsl
Renderpipeline
Physically Based Shading and Deferred Rendering for the Panda3D game engine
Stars: ✭ 814 (+10075%)
Mutual labels:  glsl
Regl Fire
Fire particle system made with regl
Stars: ✭ 16 (+100%)
Mutual labels:  glsl
Glsl Blend
glsl photoshop blending modes. glslify formatted.
Stars: ✭ 633 (+7812.5%)
Mutual labels:  glsl
Unity Xyz
C# lightweight tile viewer
Stars: ✭ 25 (+212.5%)
Mutual labels:  glsl
Glsl Scale Log
A logarithmic scale for glslify
Stars: ✭ 5 (-37.5%)
Mutual labels:  glsl
Nau
Nau - OpenGL + Optix 3D Engine
Stars: ✭ 18 (+125%)
Mutual labels:  glsl
Psx retroshader
Shader that "emulates" the rendering style of ps1
Stars: ✭ 751 (+9287.5%)
Mutual labels:  glsl
Imguicolortextedit
Colorizing text editor for ImGui
Stars: ✭ 772 (+9550%)
Mutual labels:  glsl
Leaf3d
A lightweight 3D rendering engine based on modern OpenGL
Stars: ✭ 16 (+100%)
Mutual labels:  glsl
Polygon Shredder
The polygon shredder that takes many cubes and turns them into confetti
Stars: ✭ 686 (+8475%)
Mutual labels:  glsl
Fieldplay
A vector field explorer
Stars: ✭ 922 (+11425%)
Mutual labels:  glsl
Glsl Pathtracer
A GLSL Path Tracer
Stars: ✭ 634 (+7825%)
Mutual labels:  glsl
Bonzomatic
Live shader coding tool and Shader Showdown workhorse
Stars: ✭ 829 (+10262.5%)
Mutual labels:  glsl
Crt
Software composite PAL modulation/demodulation experiments
Stars: ✭ 8 (+0%)
Mutual labels:  glsl
Wagner
Effects composer for three.js
Stars: ✭ 930 (+11525%)
Mutual labels:  glsl
Maples Retro Extravaganza
minecraft shader pack to emulate retro console graphics
Stars: ✭ 17 (+112.5%)
Mutual labels:  glsl

UnityShaders

Unity用シェーダーを作っていってます

#アップデート イメージエフェクト版の簡易NINGYOU Shaderのスクリプトを追加しました。(2016/06/10)

##NINGYOUシェーダーについて

NINGYOUシェーダーは影の色味をいじることにより、リアル系シェーダとトゥーン系シェーダの中間のような表現ができるため、名前のとおりフィギュアや人形の質感表現に向いているシェーダーです。 現在UnityのAssetStoreに登録する前の段階で、テストコードとして登録しています。

###使い方

Unityはフリー版ライセンスでも大丈夫です。シェーダーは4つあります。

  • FigureShader.shader - バンプマップなし、カラーテクスチャとディフューズとスペキュラの設定がある。
  • FigureShader_DS.shader - FigureShader.shader の両面表示版
  • FigureShader_Bump.shader - バンプマップ、カラーテクスチャとディフューズとスペキュラの設定がある。
  • FigureShader_Bump_DS.shader - FigureShader_Bump.shader の両面表示版

パラメータの意味については以下を参照してください。

  • Main Color - ベース色だが現在未実装。基本テクスチャありきなので、将来的には廃止するかも
  • Specular Color - スペキュラ反射の色、明るい色だと強い反射をする
  • Shadow Color - 影の色を濃くする。128(0.5)あたりから調整するのが良い
  • Specular Sharpness - スペキュラ反射の鋭さ。0に設定すると表示がおかしくなるので注意。だいたい0.5-20ぐらいの範囲
  • Warm color Division - 暖色系の色味の変化量を設定する。大きいほど変化が弱くなる。0を設定しない。2-16あたりが効果が分かりやすい
  • Cold color Division - 寒色系の色味の変化量を設定する。大きいほど変化が弱くなる。0を設定しない。2-16あたりが効果が分かりやすい
  • Warm color Cofficient - 暖色系の色味の変化のしやすさを設定する。大きいほど変化がしにくくなる。0を設定しない。大体0.5-2.0の範囲
  • Cold color Cofficient - 寒色系の色味の変化のしやすさを設定する。大きいほど変化がしにくくなる。0を設定しない。大体0.5-2.0の範囲
  • Base (RGB) - カラーテクスチャ
  • Normal Map - 法線マップ
  • Diffuse Strength - 光源に対する反応を変化させる。0.0-1.0の間で設定する
  • Bump Strength - バンプマップの強さを変化させる。0.0-2.0の間で設定する

####ImageEffect(SelectiveNCorrection.cs)の使い方

  • Unityの標準イメージエフェクトをインポート(ImageEffectBase.csをインポート)
  • SelectiveNCorrection.csをカメラのあるGameObjectにドラッグ&ドロップ
  • N CorrectionのテクスチャにImageEffects/Texturesフォルダ内にあるhue_val1かhue_val2をセット(hue_defaultは色味変化が付けられていないテクスチャ)
  • パラメータを変えて使う

自分で色味の変化を定義したい場合は、各色が一番暗くなったときに色相がどう変化するかを想定して、hue_default.bmpをPhotoshopやGimpなどのソフトで色相をいじってください。

###ライセンスについて

Copyright (c) 2015 Tatsuro Matsubara

MITライセンスのもとで公開しています。
http://opensource.org/licenses/mit-license.php

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].