• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

drjaydenm

Members
  • Content count

    10
  • Joined

  • Last visited

Community Reputation

111 Neutral

About drjaydenm

  • Rank
    Member
  1. OpenGL

    Alright, thanks for your help :)
  2. OpenGL

    I was thinking about using just the Vertex and Fragment programs instead of the whole effect file. Is there any benefit (other than the fact I can use techniques and passes), of using effects instead of the individual programs if I am doing all my state changes in my program code instead of in the effect? I can't think of any reason off the top of my head.   Looks like i'll try using individual programs and see how it goes.
  3. OpenGL

    Thanks for your advice,   I will take a look at HLSL2GLSL as it does look promising. It is sad though, that CG is not able to output an effect file as DX bytecode and requires you to use their runtime instead of DX's. If it allowed you to do that, it would be an efficient solution to cross platform shaders.
  4. OpenGL

    Thanks for your help,   I could just do that but I am trying to look for a universal solution where I can take the CGFX effect, compile to the specific rendering API like DX10, save the results as a DX10 effect and then load the DX10 effect at runtime without using the CGFX API to set each parameter and so on.   I could always just compile the effect using CGFX, get all programs in the effect, extract the DX10 data and make a DX10 effect out of that, although I am pretty sure I would lose the information on techniques and parameters.   Any ideas guys?   Thanks.
  5. Hi,   I am making a game engine with multiple rendering interfaces (currently only DX10 and OpenGL 3) and am trying to integrate CGFX into my pipeline. I have looked at the docs for CGFX but cannot seem to find anything that suits my needs.   What I am trying to do is compile a CGFX file to HLSL byte code as I can then just use my DX10Effect class to load the bytecode to a DX10 effect and DX will be happy. Looking at the docs for CGFX it seems I cannot get the DX10 bytecode from a CGFX effect. This means I will have to use CG to do all the effect technique and parameter work instead of DX itself.   Does anyone know if it is possible to get the DX10 bytecode from a CGFX effect?   Thanks.
  6. Thanks for the info, I think I should be able to get it done now. Also, just double checking, is BC3_UNORM the correct format to be using with DXT5?
  7. Hi,   I am creating an engine using C# and SharpDX. To load DDS files, I was originally decoding the file to a R8G8B8A8 format which defeats the purpose of using DDS as it removes all compression. I am now trying to load DXT5 textures into my engine whilst keeping the compression but I am stuck when trying to copy the texture into the Texture2D DX resource. I have the texture format set as BC3_UNORM.   I'm not quite sure what part of the DDS file I am meant to be copying to the resource and whether or not I am meant to be reordering some channels of the file before doing so. I have tried to find documentation online but it seems to be scarce as everyone wants to use helper functions whereas I am trying to avoid using them solely for the task of loading a DDS file.   Any help or insight into what part of the file I am meant to be copying to the Texture2D resource and any modifications I need to perform would be helpful.   Thanks.
  8. Nevermind, after all this time, I realised the sample mask was set to 0, I changed it to 1 and it works fine
  9. Hey all, I've recently been working on a rendering engine in SharpDX using DirectX 10 and I'm having a problem with alpha blending. I don't currently have any rendertargets except for the backbuffer. Basically what is happening is that I have the depthstencil state and rasterizer state set and thats working fine, but when I try to set the alpha blend state, everything dissappears. I have tried various alpha blending settings but no matter what I try, if an alpha blend state is set to the device, nothing is visible. Thanks for any help.
  10. Normally, you would render a fullscreen quad and then use the pixel shader to apply the texture to it.