Skip to content

kentaroid/ofxTextureExtension

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

ofxTextureExtension

ofxCubeTexture and ofx1DTexture, extension of the ofTexture.

CubeTexture,1DTextureの取り急ぎ版。

Image Based Lighting とかで使ってますが、通常はskybox等が簡単に作れるぐらいしか用途は思い浮かびません。

ofTextureを拡張してるので bind,draw等のメソッドやofShaderへのuniform参照が利用できます。 openframeworksは現在のgithub(https://github.com/openframeworks/openFrameworks )(9以降)でしか動かないと思います。

cubeMapの貼り付けはいくつか手法がありますのでexamlpeの参考画像を見て下さい。 また、ofTextureと同じですがHDRテクスチャを遣う場合はallocateでの指定が必須となります。

About

ofxCubeTexture and ofx1DTexture, extension of the ofTexture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published