Simple Texture Light - Printable Version +- Forums (http://www.scratchpadgames.net/forums) +-- Forum: Main Forums (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=1) +--- Forum: OpenGLES2.0 Shaders (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=15) +--- Thread: Simple Texture Light (/showthread.php?tid=30) |
Simple Texture Light - Brian Beuken - 03-04-2018 I will post soon RE: Simple Texture Light - Brian Beuken - 04-29-2018 And here I am at last, sorry been busy, lets talk about light and what a difference it can make to your games The 2 models below are simple examples of a model drawn with a light shader and without, the difference is quite marked. There are rather a lot of lighting concepts out there and some need a bit more work and effort than others, we'll start with a simple one which can be found in the Model Light demos RE: Simple Texture Light - Brian Beuken - 02-23-2019 On thing I have noticed and am a bit annoyed with myself, I didn't convert any of my camera positions in to view space before sending them to the shaders....that a doh! RE: Simple Texture Light - jomoengineer - 02-27-2019 This is cool. I recently watched a talk from John Romero (id Software: Commander Keen, Wolfenstein 3D, Doom and so on) where he discuses the creation of Doom and part of the talk he mentions how they used light and shading to enhance the scary nature of the game. https://www.youtube.com/watch?v=eBU34NZhW7I&t=1478s This does seem like a cool way to change the look and feel of items in a game. RE: Simple Texture Light - Brian Beuken - 02-27-2019 yes light totally creates a sense of immersion in a game. A shape or model will always look artificial until light is applied and it smooths and adds subtly to the model as the pic above shows. Get a flickering torchlight in front of you with a distance limit and you get a real sense being in a cave with a flame torch. Light in all is different forms is one of the main challenges to a graphics programmer trying to achieve realism. RE: Simple Texture Light - Brian Beuken - 02-20-2020 Here's a simple vertex light shader for you Code: #version 100 and the frag for it Code: #version 100 |