C
C#2mo ago
LuxiPew

✅ Pink material

I have this code, but the material dont work he is pink maybe u now there my problem? Shader "Graph/Point Surface" { Properties { _Smoothness ("Smoothness", Range(0,1)) = 0.5 } SubShader { CGPROGRAM #pragma surface ConfigureSurface Standard fullforwardshadows #pragma target 3.0 struct Input { float3 worldPos; }; float _Smoothness; void ConfigureSurface (Input input, inout SurfaceOutputStandard surface ) { surface.Albedo = input.worldPos; surface.Smoothness = _Smoothness; } ENDCG } Fallback "Diffuse" }
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server