Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

UNITY_SAMPLE_SHADOW correct usage

$
0
0
Hi,

I've been working on shaders for my game on my laptop, which is great, because I can easily switch between testing on Intel integrated graphics (both for low-end performance and compatibility testing) and a more powerful Nvidia card.

While using Intel, I thought I had hardware-filtered shadows working nicely, using UNITY_SAMPLE_SHADOW. But when I tested it on Nvidia, it didn't work.

Here's my shader:
Code (CSharp):
  1. Shader "Custom/KustomShader"
  2. {
  3.     SubShader
  4.     {
  5.         Tags {...
UNITY_SAMPLE_SHADOW correct usage

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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