Coding practices are a source of a lot of arguments among programmers. Coding standards, to some degree, help us to put certain questions to bed and resolve stylistic debates. No coding standard makes everyone happy. (And even their existence is sure to make some unhappy.) What follows are the standards we put together on the Core team, which have become the general coding standard for all programming teams on new code development. We’ve tried to balance the need for creating a common, recognizable and readable code base with not unduly burdening the programmer with minor code formatting concerns.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Futile/Blur" | |
{ | |
Properties | |
{ | |
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} | |
_Color ("Main Color", Color) = (1,0,0,1.5) | |
_BlurAmount ("Blur Amount", Range(0,02)) = 0.0005 | |
} | |
Category |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/yar" { | |
Properties { | |
_ColorLow ("Color Low", COLOR) = (1,1,1,1) | |
_ColorHigh ("Color High", COLOR) = (1,1,1,1) | |
_yPosLow ("Y Pos Low", Float) = 0 | |
_yPosHigh ("Y Pos High", Float) = 10 | |
_GradientStrength ("Graident Strength", Float) = 1 | |
_EmissiveStrengh ("Emissive Strengh ", Float) = 1 | |
_ColorX ("Color X", COLOR) = (1,1,1,1) | |
_ColorY ("Color Y", COLOR) = (1,1,1,1) |