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
//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
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
/*************************************************** | |
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
{ | |
"registry" : "https://staging-packages.unity.com", | |
"dependencies" : | |
{ | |
"com.unity.render-pipelines.lightweight": "0.1.28", | |
"com.unity.shadergraph" : "0.1.17" | |
} | |
} |
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
NEON DEMO - How To | |
Neon Demo.Unity | |
- Talk about the Timelines. | |
- Turn On and Off the Post Processing Volumes - Maybe turno each effect off and start turning them on and explaining them. | |
- Turn On and Off the Scene Ligthing | |
- Mention roughly, how the scene was constructed | |
* Buoy. | |
* Skybox. | |
* Buildings. |
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; | |
namespace Complete | |
{ | |
public class CameraControl : MonoBehaviour | |
{ | |
public float m_DampTime = 0.2f; // Approximate time for the camera to refocus. | |
public float m_ScreenEdgeBuffer = 4f; // Space between the top/bottom most target and the screen edge. | |
public float m_MinSize = 6.5f; // The smallest orthographic size the camera can be. | |
public Transform[] m_Targets; // All the targets the camera needs to encompass. |
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
# ========================= | |
# Project Specific Ignores | |
# ========================= | |
# ========================= | |
# General Unity Files | |
# ========================= | |
[Ll]ibrary/ |
NewerOlder