- Home /
Question by
Little_Narwhal_13 · May 14, 2020 at 10:00 AM ·
shadermathfunctions
Pass function into a shader
Im working on a calculator and Im having trouble working on the graphing aspect... I can plot functions from a shader, but function specifications are converted from a string that a user enters to the proper behaviour in C# script. Is there some way for me to transmit the relevant info to the shader so that it can execute on the function on each pixel?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612234230im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Function for returning x-length from vector made from given length and direction. 1 Answer
Project UVs from arbitrary direction vector in shader 0 Answers
Can't get Math Functions to Work in Compute Shader 0 Answers
Wireframe Shader With Shared Lines Removed 0 Answers
Var types and math; unexpected results? 0 Answers