Jump to content

DudeAwesome

Members
  • Posts

    541
  • Joined

  • Last visited

Everything posted by DudeAwesome

  1. Thx ! you know some good tutorials for deferred shader ? well I wanted to try to read glsl 4.0 Cook Book but its bad when I cant Test the shader Examples :/ I really want to get more involved into shaders but its like the holy grail.
  2. hey guys I´m reading opengl 4.0 shading cook book to get a feeling for shaders and learn the basics but I fail with my first simple diffuse shader example. thats my code: Vertex #version 400 layout (location = 0) in vec3 VertexPosition; layout (location = 1) in vec3 VertexNormal; out vec3 LightIntensity; uniform vec4 LightPosition; // Light position in eye coords. uniform vec3 Kd; // Diffuse reflectivity uniform vec3 Ld; // Light source intensity uniform mat4 ModelViewMatrix; uniform mat3 NormalMatrix; uniform mat4 ProjectionMatrix; uniform mat4 MVP; // Projection * ModelView void main(){ // Convert normal and position to eye coords vec3 tnorm = normalize( NormalMatrix * VertexNormal); vec4 eyeCoords = ModelViewMatrix * vec4(VertexPosition,1.0); vec3 s = normalize(vec3(LightPosition - eyeCoords)); // The diffuse shading equation LightIntensity = Ld * Kd * max( dot( s, tnorm ), 0.0 ); // Convert position to clip coordinates and pass along gl_Position = MVP * vec4(VertexPosition,1.0); } Fragment #version 400 in vec3 LightIntensity; layout( location = 0 ) out vec4 FragColor; void main() { FragColor = vec4(LightIntensity, 1.0); } I attached the shader to a material and to a ground but it is still invisible and the screen is black.
  3. https://dl.dropboxusercontent.com/u/4416426/IMG_2482.mov (just recorded it with my mobile telephone too lazy for fraps and compression and youtube. you see that the wall flips black when I turn. there is a point light in the middle of the room. vsync is on and I have constant 59/60 FPS edit: same in leadwerks AI and Events demo https://dl.dropboxusercontent.com/u/4416426/IMG_2483.mov
  4. then wait until he contacts you. he will read this thread for sure.
  5. free weekend include a %saleprice%?
  6. yep its material editor bug. annoying I know but josh said this should be fix in the latest build
  7. whats your framerate? @micheal yougroove have set in his startpost sync to true so vsync should be activated. how this function works and if it give us double or trible buffering i dont know, but yougrooves screen looks like normal vsync off artifacts. do you have more context create or some context functions that maybe influence the vsync?
  8. you mean some Walls flip dark and then it draws the normal Texture when you turn in fp view?
  9. m( come one! use eyes and please read again the startpost and my post. he want to UPGRADE from STEAM INDIE LUA to NONSTEAM STANDARD EDITION. this is not possible on steam your links show me a normal upgrade dlc. we talking about standalone (nonsteam) dlc on steam and this dont exist.
  10. when I try to attach a custom shader to a material without textures (I created some basic shaders like diffuse and ads etc.) and I try to save the material everything gets resetted. I dont know why I waste my time with this. I just wanted to learn some shader stuff and want to use leadwerks but this is also not working...
  11. Steam to standalone upgrade dlc? Never have Seen such a dlc before. Sounds like a April fool
  12. Would be more User friendly for sure
  13. for animations you need animation shaders thats right
  14. what is that function? there is no entry in the api in the world class
  15. no tutorial but a must have app for all mac users is DASH https://itunes.apple.com/de/app/dash-docs-snippets/id458034879?mt=12 codesnippet and documentation library for all programming languages.Helped me also a lot.
  16. He also said that everything he said will be stupidly cut in stone. There is no OpenGL 3 support for now and to edit my quote. I dont wanted to get accross with ignorance if you guess this. where is the benefit in supporting older OpenGL Versions apart from supporting more gpu old hardware?
  17. well trust and success have nothing to do with each other. you can even success when noone believes in you and your work and you also can still fail very hard when everyone trust you. The problem is that if you trust someone and he failed you are pissed. If you dont trust and believe in someone you can tell that it was obvious. its just a shine related to the angle of view. trust or believe in something is just an emotional thing that influences your decisions in mind by supporting something. Trust makes businessdecisions easier but its just a shine in business you dont need it really to earn money . But to get the real thing you sometimes have to do risky things and waste some venture capital. I also dont can understand what my age has to do with my given answer. Dont claim so much with your emotions they have nothing to do in conversations like this one here. stay factual and wait and you get answers you need. to stay philosophic I can tell you that its not the age that makes you old. its the experiences you received in your life that makes you old. eg: An old fart that has got no experiences in life will not be smarter in making decisions like a younger person that have to deal with it everyday. I also already give you the answer for everything and all (42) But you see this is just the answer. And there is no question. so what is the question? Fail in something or at work will fall you back thats right but it give you the experience that you dont stay in the loop to do it again and again and again. Failing in something is not bad. And Josh was not failing here. He is doing the right stuff. and well, I believe in him. Not because I trust him. its because I like his work he doing all the time here. alone. now clap your hands and smile. linux version is out.
  18. Hey guys. Leadwerks 3.1 Linux is released and I like to share it with people who dont like to pay for it. I think this will increase the userbase here a lot and leadwerks becomes more famous for sure. The package contains the normal binary files and the source code package. You can use it royal free for all your games in the future. I also have added some new prefabs and 3D models (Trees, rigged and animated mixamo fuse characters, Switches, Weaponmodels) and some working open source shaders (Xray, Fog, DistanceFog, VolumeFog, Physical Based Shaders Pack). HowTo 1. unzip leadwerks3.1.zip 2. install with the precompiled binaries 3. replace the application file with the file in the "crack" folder. you have to use a gnu compiler if you want to compile your own stuff (see readme.txt) Download: http://dl.dropbox.com/2745023423123520/leadwerks3.1.zip Note: if you want to update the files use the autopatcher.sh or autopatcher.exe. linux users try: $ ./autopatcher.sh You probably have to replace the file from the crack folder again with the application file. please leave a note if this works for you.
  19. that you need openGL 4 graphics is a old hat. and nope. it will never fallback. you need openGL 4 grapics to create the game and you will need it to play. we live in 2014 now. opengl 4 was released 2010. if there would be a fallback you would missing a bunch of features. your game development also needs time. if your game ever be finished there will be maybe openGL 5 available. you will also have no fun with openGL 3 graphics while creating 3d stuff (AAA)
  20. wait for official news. mobile is not dead it may comes back some day. focusing on a stable xplattform engine is more important now. sure it is not nice for us but its better than a buggy engine with overload of supported platforms. forget about the past. 3.1 seems to be completly redesigned. if we have linux/mac/win support and a good engine that fit our need that will be worth it. josh dont do that to annoy us he do it to give us a stable 3.1 engine. he is not lucky with it but this is business if you dont care about little things you will fail so it does here. so make the best about it or feel free to use other engines that are the best choice for you if you really extremly need mobile support for now. josh created a nice engine here dont forget that he did all the stuff alone.
  21. this would be nice for sure but for me I dont need it because I create the most stuff for my levels with 3d coat. (I like heterogenic level design)
×
×
  • Create New...