This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
char szMots[254], *p; | |
scanf("%s", szMots); |
This file contains hidden or 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/UnlitTransparentScroll" { | |
Properties { | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_ScrollXSpeed ("X Scroll Speed", Range (0,10)) = 2 | |
} | |
SubShader { | |
Lighting Off | |
AlphaTest Greater 0.5 | |
Tags { "RenderType"="Opaque" } | |
LOD 200 |
This file contains hidden or 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
//NOTE | |
//put in /Assets/Editor folder | |
public class InvertedSphere : EditorWindow |
This file contains hidden or 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
/*Blending 6 Sided skybox. By tlt*/ | |
Shader "Skybox/VertBlendedSkybox" | |
{ | |
Properties{ | |
_Tint("Tint Color", Color) = (.5, .5, .5, .5) | |
[Gamma] _Exposure("Exposure", Range(0, 8)) = 1.0 | |
_Rotation("Rotation", Range(0, 360)) = 0 | |
_Blend("Blend", Range(0.0,1.0)) = 0.5 |