Preface

This book is the second volume of the "Unity Graphics Programming" series, which explains the technology related to graphics programming by Unity. This series provides introductory content and applications for beginners, as well as tips for intermediate and above, on a variety of topics that the authors are interested in.

The source code explained in each chapter is published in the github repository ( https://github.com/IndieVisualLab/UnityGraphicsProgramming2 ), so you can read this manual while executing it at hand.

The difficulty level varies depending on the article, and depending on the amount of knowledge of the reader, some content may be unsatisfactory or too difficult. Depending on your knowledge, it's a good idea to read articles on the topic you are interested in. For those who usually do graphics programming at work, I hope it will lead to more effect drawers, and students are interested in visual coding, I have touched Processing and openFrameworks, but I still have 3DCG. For those who are feeling a high threshold, I would be happy if it would be an opportunity to introduce Unity and learn about the high expressiveness of 3DCG and the start of development.

IndieVisualLab is a circle created by colleagues (& former colleagues) in the company. In-house, we use Unity to program the contents of exhibited works in the category generally called media art, and we are using Unity, which is a bit different from the game system. In this book, knowledge that is useful for using Unity in the exhibited works may be scattered.

Recommended execution environment

Some of the contents explained in this manual use Compute Shader, Geometry Shader, etc., and the execution environment in which DirectX 11 operates is recommended, but there are also chapters where the contents are completed by the program (C #) on the CPU side.

I think that the behavior of the sample code released may not be correct due to the difference in environment, but please take measures such as reporting an issue to the github repository and replacing it as appropriate.

Requests and impressions about books

If you have any impressions, concerns, or other requests regarding this book (such as wanting to read the explanation about 〇〇), please feel free to use the Web form ( https://docs.google.com/forms/d/e/1FAIpQLSdxeansJvQGTWfZTBN_2RTuCK_kRqhA6QHTZKVXHCijQnC8zw/ Please let us know via viewform ) or email (lab.indievisual@gmail.com).

Web form QR code

Figure 1: Web form QR code