Skip to content

Instantly share code, notes, and snippets.

@locoderr
locoderr / TextureBlendShader.shader
Created September 27, 2021 20:16 — forked from Demkeys/TextureBlendShader.shader
Simple texture blending shader that blends 3 textures of varying tiling and offsets.
Shader "Custom/TextureBlendShader"
{
Properties
{
_MainTex01 ("Texture01", 2D) = "white" {}
_MainTex02 ("Texture02", 2D) = "white" {}
_MainTex03 ("Texture03", 2D) = "white" {}
[Header(Fragment RGBA Multipliers)]
_FragR ("FragR", Range(0,5)) = 1
_FragG ("FragG", Range(0,5)) = 1
@locoderr
locoderr / ImguiMayaStyle.cpp
Created May 13, 2021 14:07 — forked from ongamex/ImguiMayaStyle.cpp
ImGui style that look like Maya
ImGuiStyle& style = ImGui::GetStyle();
style.ChildWindowRounding = 3.f;
style.GrabRounding = 0.f;
style.WindowRounding = 0.f;
style.ScrollbarRounding = 3.f;
style.FrameRounding = 3.f;
style.WindowTitleAlign = ImVec2(0.5f,0.5f);
style.Colors[ImGuiCol_Text] = ImVec4(0.73f, 0.73f, 0.73f, 1.00f);