Commit Graph
9 Commits
Author SHA1 Message Date
Beuc f648f7bc09 Fix texture mapping in Custom post-processing (#3957)
When the viewport is not fullscreen, the view is cropped and distorted after applying a shader.
This is due to using SCREEN_UV (meant for SCREEN_TEXTURE) instead of UV (meant for TEXTURE).
2020-09-03 00:15:01 +02:00
Michael Alexsander 1f6d3995e4 Apply general code formatting to some pages in the tutorial section 2020-07-08 23:02:14 -03:00
Yuri Sizov 4acf7a6563 Fix syntax highlighting for various languages (#3387) 2020-04-15 16:33:20 +02:00
corrigentia ad5c1fda75 Fix punctuation in custom_postprocessing (#2115)
Fix punctuation in custom_postprocessing.
I surmise that the second ``col += texture(TEXTURE, SCREEN_UV + SCREEN_PIXEL_SIZE.xy).xyz;`` line was missing a ``-`` (minus sign) before I went through it. 
If so, I chalk it up to a case of copypasta.
2019-01-11 17:08:20 +01:00
Rémi Verschelde a0e32ac017 Fix mixed use of tabs and spaces in indented blocks
4-space is our convention for indented blocks and should be used consistently.
The only exception is for C++ code which is tab-indented, as the engine code.
2018-11-20 11:02:11 +01:00
Vallentin cd4353790f Fixed typos (#1906) 2018-11-20 09:44:00 +01:00
Frido 3a62243e7a Fixed typo in Viewports tutorial 2018-10-16 23:37:34 +02:00
Nathan Lovato 4965cacaef Proofed the custom_postprocessing tutorial 2018-10-06 08:48:33 +09:00
clayjohn 044045aabc added simple post-processing tutorial 2018-10-02 20:56:03 -07:00