次のタグが付いている話題の回答:

1

Unityのプラグイン側でOpenGL ESの処理を実行させる事は可能でしょうか

試行錯誤した結果、dll側で作成した内容をUnity側で描画させる事は可能だと判明しました。 実際に上記の内容を反映させるには コルーチン等で実行し、 yield return new WaitForEndOfFrame(); まで待機してから GL.IssuePluginEvent(RenderEventFunc(), eventID); でdll側の処理を呼び出して、...
fumiasi's user avatar
  • 11
1

cocos2d-x v3.8のカスタムシェーダーで、あとからsetUniformLocationで変更を反映する

GLProgramStateを使ってできました。 bool HelloWorld::init() { if ( !Layer::init() ) { return false; } /*中略*/ _sprite = Sprite::createWithSpriteFrameName("RRGPlayer/walk/south/0001....
noprops's user avatar
  • 423

Only top scored, non community-wiki answers of a minimum length are eligible