Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCRenderTexture setShader #1271

Closed
elbaro opened this issue Mar 17, 2015 · 1 comment
Closed

CCRenderTexture setShader #1271

elbaro opened this issue Mar 17, 2015 · 1 comment

Comments

@elbaro
Copy link

elbaro commented Mar 17, 2015

renderTexture.shader = shader; // doesn't work
renderTexture.sprite.shader = shader; // works

Does the first line have a different usage?
It may be better to hide 'shader' from renderTexture or make it propagate to the sprite.

@s1ddok
Copy link
Contributor

s1ddok commented Feb 21, 2016

Fixed in 3.5.

@s1ddok s1ddok closed this as completed Feb 21, 2016
s1ddok pushed a commit that referenced this issue Feb 21, 2016
s1ddok added a commit that referenced this issue Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants