So somehow you want to install IPython for mayapy
. Make sure you have mayapy.exe
on your path or you can invoke it somehow.
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) |
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
// Unlit alpha-blended shader. | |
// - no lighting | |
// - no lightmap support | |
// - no per-material color | |
// - accepts a masking texture of the scale of screen | |
Shader "Unlit/Transparent With Mask" { | |
Properties { | |
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} | |
_MaskTex ("Mask Tex", 2D) = "white" {} |
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
// Unlit alpha-blended shader with MainColor | |
// - no lighting | |
// - no lightmap support | |
// - with holes | |
Shader "Unlit/Transparent With Holes" { | |
Properties { | |
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} | |
_Radius ("Hole Radius", Float) = 50.0 | |
_CutOff1 ("Cut Off Ratio, ranges from [0, 1", Float) = 0.6 |
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
/* | |
* Compile UnityScripts in "<ProjectRoot>/<ScriptsDirName>" into DLL, Windows and Editor Only | |
* | |
*/ | |
using UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.IO; | |
using System.Collections.Generic; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char **argv) { | |
int i; | |
float f; | |
if (argc < 2) | |
{ | |
puts("usage: cnv 1065353216\n"); |
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
*.meta |
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
// small lua ext for playing around. | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "lua.h" | |
#include "lualib.h" | |
#include "lauxlib.h" | |
#define err(msg) do {fprintf(stderr, "error: %s\n", (msg)); exit(1);} while (0) | |
int super_bind(lua_State *L) { | |
return 0; |
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
#include <setjmp.h> | |
#include <stdio.h> | |
jmp_buf buf; | |
void jmper() { | |
// only variables marked as volatile can be seen as reiable | |
// written after jmp, as they are written to ram | |
volatile int local = 1; | |
if (!setjmp(buf)) { | |
printf("pre set: %d\n", local); // 1 |