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
using UnityEngine.Rendering; | |
using UnityEngine.Rendering.Universal; | |
public class CockpitOutline : FullscreenEffectBase<CockpitOutlinePass> | |
{ | |
} | |
public class CockpitOutlinePass : FullscreenPassBase | |
{ | |
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData) |
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
using UnityEngine; | |
using UnityEngine.Rendering; | |
[VolumeComponentMenu("Sample Scene/Outline")] | |
public class OutlineVolumeComponent : VolumeComponent | |
{ | |
public BoolParameter Enabled = new BoolParameter(false); | |
public ColorParameter outlineColor = new ColorParameter(Color.white, true, false, false); | |
public ClampedFloatParameter outlineWidth = new ClampedFloatParameter(0,0, 10.0f); |
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 "UI/Fast-Default" | |
{ | |
Properties | |
{ | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
} | |
SubShader | |
{ |
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
/*************************************************** | |
12 de marzo del 2011 | |
Arturo Nereu Nunez Martinez | |
***************************************************/ | |
#include <windows.h> | |
#include <GL/glut.h> | |
#include <stdio.h> | |
#include <math.h> |
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
//Cusing System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
using Unity.Services.Analytics; | |
using Unity.Services.Core; | |
using Unity.Services.Authentication; |
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
# A collection of Python functions to make my life outside the Unity Editor Easier | |
# Author: Arturo Nereu @ArturoNereu | |
# License: Do whatever you want with the code | |
import os | |
def removeMetaFiles(dirName): | |
for root, dirs, files in os.walk(dirName): | |
for name in files: | |
if name.endswith(".meta"): | |
fileToDelete = os.path.join(root, name) |
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 "CustomShaders/BareBoneShader" | |
{ | |
//Properties | |
Properties | |
{ | |
_Color("Main Color", Color) = (1,1,1,1) | |
} | |
//Subshaders | |
SubShader |
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
# ========================= | |
# Project Specific Ignores | |
# ========================= | |
# ========================= | |
# General Unity Files | |
# ========================= | |
[Ll]ibrary/ |
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
Color ranges from 0 to 1. vec4(0.0, 1.0, 0.5, 0.75) | |
Top-left corner is (0,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
{ | |
"registry" : "https://staging-packages.unity.com", | |
"dependencies" : | |
{ | |
"com.unity.render-pipelines.lightweight": "0.1.28", | |
"com.unity.shadergraph" : "0.1.17" | |
} | |
} |
NewerOlder