Quantcast
Channel: Questions in topic: "hlsl"
Viewing all articles
Browse latest Browse all 206

Shader - Cant use TransformObjectToWorldNormal and TransformObjectToWorld

$
0
0
Hi i created an unlit shader and i trying to use the functions TransformObjectToWorldNormal() and TransformObjectToWorld(), and i keep having console erro of: undeclared identifier 'TransformObjectToWorldNormal' undeclared identifier 'TransformObjectToWorld' I tried #include "UnityCG.cginc" but that dont sems to work, i cant find anywhere how to solve this problem.

Viewing all articles
Browse latest Browse all 206

Trending Articles



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