hi graf
is there any reason for GZDoom to do this separate handling for canvas and non-canvas textures?
I tried to quickly browse the code but from what I can tell cameratexture is simple GL_TEXTURE_2D that's not much different from any other "real" texture... and thus there's no point to disallow shaders here IMO.
hardwareshader+cameratexture
Moderator: Graf Zahl
-
- Developer
- Posts: 14
- Joined: Thu Nov 26, 2015 6:10
Re: hardwareshader+cameratexture
bump. This is important for fullscreen effects. hello.
Using shaders on cameratextures would also enable having cameratextures of non-square shape. This is very useful as well.
So any reason this special handling is employed in GZDoom? (and could you remove this special handling?)
(I'd gladly make a pull request, but I can't compile GZDoom and thus can't test)
Using shaders on cameratextures would also enable having cameratextures of non-square shape. This is very useful as well.
So any reason this special handling is employed in GZDoom? (and could you remove this special handling?)
(I'd gladly make a pull request, but I can't compile GZDoom and thus can't test)
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: hardwareshader+cameratexture
I can't remember why that is there, but there must have been some reason.