0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Raylib】rlights.hを追加する

Posted at

Raylibのshadersのサンプルコードを見ていると、rlights.hというのがあると思います。これは、普通にraylibをインストールしているだけだと、実行時にrlights.hが見つからないというエラーが起こります。なので、忘れないように、追加方法をここに書こうと思います。(Windows向けです)

まず。https://github.com/raysan5/raylib/blob/master/examples/shaders/rlights.h にアクセスしてください。そしたら、右上の...をクリックし、Downloadをクリック。rlights.hがダウンロードされるので、エクスプローラーのダウンロードフォルダーに移動し、rlights.hをワンクリックし、Ctrl+Xで切り取ってください。そしたら C:\raylib\raylib\src に移動して。Ctrl+Vを押すだけです。

これで完了です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?