Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Equirectangular Mapping Shader

$
0
0
Hi, I have found this shader on this forum:

Code (CSharp):
  1. Shader "Custom/Equirectangular" {
  2.     Properties {
  3.         _Color ("Main Color", Color) = (1,1,1,1)
  4.         _MainTex ("Diffuse (RGB) Alpha (A)", 2D) = "gray" {}
  5.     }
  6.     SubShader{
  7.         Pass {
  8.             Tags {"LightMode" = "Always"}
  9.             Cull front //Added by me
  10.             CGPROGRAM
  11.                 #pragma vertex vert
  12.                 #pragma fragment frag
  13.                 #pragma fragmentoption ARB_precision_hint_fastest...
Equirectangular Mapping Shader

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>