@AleCie wrote:
What could cause a null reference exception when calling pass.Apply()?
The effect exists, I set the parameters, when debugging it displays the name of current technique and array with passes has 1 element.
It was working with BasicEffect, but now I have tried adding custom one.
Shader code:
https://pastebin.com/Ns8XZnygDrawing:
https://pastebin.com/K6g8aezQ
Posts: 3
Participants: 2