image

- [[Always make them look at you.]] now changes the orientation of the slides, but the result is too bright to read or too dark.
obj.GetComponent<Renderer>().material.shader = Shader.Find("Unlit/Texture");
  • This alone turn magenta.

    • If you specify a Unlit/Texture shader dynamically from a script, it will be assumed to be a shader that is not in use at compile time and will be deleted. To avoid this, put the material that uses the shader under Resources.
  • I want to make sure that the brightness does not change depending on the orientation of the slide.


This page is auto-translated from /nishio/ćƒ‘ćƒćƒ«ć®å‘ćć§ę˜Žć‚‹ć•ćŒå¤‰ć‚ć‚‰ćŖ恏恗恟恄 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.